Don't have an account yet? You can create one, it is free, just click here
as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.
I built a module with several permission states!
I write this in th pnversion.php -> securityshema
$modversion['securityschema'] = array('Teams::Item' => 'Teams::',
'Teams::Item' => 'Spieler::',
'Teams::Item' => 'Spiele::',
'Teams::Item' => 'Trainingszeiten::',
'Teams::Item' => 'Trainingsort::',
'Teams::Item' > 'Ergebniseintrag::',
'Teams::Item' => 'Trainer::',
'Teams::Item' => '1.Mannschaft::',
'Teams::Item' => '2.Mannschaft::',
'Teams::Item' => 'AlteHerren::',
'Teams::Item' => 'A-Jugend::',
'Teams::Item' => 'B-Jugend::',
'Teams::Item' => 'C-Jugend::',
'Teams::Item' => 'D-Jugend::',
'Teams::Item' => 'E-Jugend::',
'Teams::Item' => 'F-Jugend::',
'Teams::Item' => 'Saison::');
Now i built a F-Jugend
and a user test which is owner of the Group F-Jugend
This are the group permissions:
2 F-Jugend Teams:: Teams:F-Jugend:: Administrator
3 F-Jugend AddStory::|Admin:: .* Administrator
4 F-Jugend MDMenus::Item Menu:Administration: Administrator
Now i will log in as test and will change some information in the administration menue where i have the rights of f-jugend but in the administration menue there is no Symbol of the Module i built!
if i enter the admin area of my modul directly with:
/index.php?module=Teams&type=admin it works perfectly
what can i do to get the module admin area in the administration panel?
If i change the grou permission 2 in to 2 F-Jugend Teams:: .* Administrator
the symbol is shown! but all permissions are allowed! and i only want to enter the f-Jugend area!
I hope you understand my problem!
TiMax Project Manager
Joined: July 31, 2003
Posts: 1553
Location: Quebec - Canada
 Posted:
July 11, 2007 - 05:35 AM
You need to add permissions for Admin module too
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
schweikl_alex MD user level 2
Joined: Nov 27, 2003
Posts: 30
bannato
 Posted:
July 11, 2007 - 08:36 PM
How can i do this?
isn't it includes with this line: 3 F-Jugend AddStory:Admin:: .* Administrator
TiMax Project Manager
Joined: July 31, 2003
Posts: 1553
Location: Quebec - Canada
 Posted:
July 11, 2007 - 09:18 PM
Code:
3 F-Jugend AddStory::lAdmin:: .* Administrator
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
schweikl_alex MD user level 2
Joined: Nov 27, 2003
Posts: 30
bannato
 Posted:
July 11, 2007 - 10:11 PM
Ah ok! i see we do not mean the same thing!
i hive this line in the permissions! it works well! i can see the administration panel!
but in the administration panel i can't see the module i have built my self! it is called Teams!
i can see it only when i fill in this line in the permisions: F-Jugend Teams .* Administrator
But then the user has the full rights of team module! but i will that h has only the rights to change onepart and not all parts!
do you see my problem?
TiMax Project Manager
Joined: July 31, 2003
Posts: 1553
Location: Quebec - Canada
 Posted:
July 12, 2007 - 02:11 AM
oh I need to see code of your module to answer you
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali