Elmar
Posts: 17
|
| Posted: 09/06/2005, 1:09 AM |
|
Hi there.
I have a PHP Project set up and would now like to include some Permissions based on Groups.
Unfortunantly my settings are ignored and even a normal user can edit pages/components where it shouldnīt.
I made some screenshots to clarify what Iīve done so far.
Relevant fields from the DB:

Page Protected. It works if I am not logged in but I can get to the page if I am a 'user' or higher although you shouldnīt:

Additionally I protected the component itself. This wonīt work either and I can erase and edit the component although I am just a 'user':

What am I missing here? I couldnīt find any similar requests on this board so I guess it is due to my lack of CodeCharge-Knowledge.
Thanks in advance!
Elmar
|
 |
 |
Elmar
Posts: 17
|
| Posted: 09/06/2005, 1:18 AM |
|
I just checked the project settings and they where partly gone. After I reentered the groups column in the securtiy settings I was able to get it working. Sorry, for posting too quickly!
bye,
Elmar
|
 |
 |
peterr
Posts: 5971
|
| Posted: 09/06/2005, 1:21 AM |
|
This looks strange since the settings seem to be OK. Possibly the page was not re-generated correctluy after changing the security, or the user has logged-in with 'admin', even when you think that it has 'user' privileges?
I can only recommend that you contact the support and later provide them with your project - they may be able to determine what's wrong.
I can also recommend that you delete the PHP file for your page (PageName.php) from your project folder, then press F9 to re-generate the whole project. All PHP files are regenerated at that time.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
peterr
Posts: 5971
|
| Posted: 09/06/2005, 1:22 AM |
|
Oh, then you're all set
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Elmar
Posts: 17
|
| Posted: 09/06/2005, 1:24 AM |
|
Gosh, your are quick!
|
 |
 |
|