Oct 12, 2008 | 03:53 AM  
Welcome

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.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
schweikl_alex
MD user level 2
MD user level 2


Joined: Nov 27, 2003
Posts: 30

Member
Post  Posted: July 11, 2007 - 03:41 AM Reply with quote Back to top
Post subject: Problem with Permissoions

Hello!

I have some Problems with Permissions!

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:NeutralF-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!
View user's profile
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1557
Location: Quebec - Canada

Post  Posted: July 11, 2007 - 05:35 AM Reply with quote Back to top

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
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
schweikl_alex
MD user level 2
MD user level 2


Joined: Nov 27, 2003
Posts: 30

bannato
Post  Posted: July 11, 2007 - 08:36 PM Reply with quote Back to top

How can i do this?
isn't it includes with this line: 3 F-Jugend AddStory:NeutralAdmin:: .* Administrator
View user's profile
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1557
Location: Quebec - Canada

Post  Posted: July 11, 2007 - 09:18 PM Reply with quote Back to top

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
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
schweikl_alex
MD user level 2
MD user level 2


Joined: Nov 27, 2003
Posts: 30

bannato
Post  Posted: July 11, 2007 - 10:11 PM Reply with quote Back to top

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?
View user's profile
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1557
Location: Quebec - Canada

Post  Posted: July 12, 2007 - 02:11 AM Reply with quote Back to top

oh I need to see code of your module to answer you Smile

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits