CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Permissions donīt work in PHP Project

Print topic Send  topic

Author Message
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
View profile  Send private message
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 :-/
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
Elmar

Posts: 17
Posted: 09/06/2005, 1:24 AM

Gosh, your are quick!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright Đ 2003-2004 by UltraApps.com  and YesSoftware, Inc.