This topic is locked
[SOLVED]

 Group Permissions

3/22/2011 4:36:56 PM
PHPRunner General questions
C
choanhemnhe author

Hello members,

I got an idea which really need your help.

supposed I'm running an online photo store. I want all users belong "Free_Group" can view and download only the records where [Value] field equal "free". I think, to do this I must add more field into Group Tables (As default PHPRunner generates Group table contain 2 fields: ID,GroupName).
Thank you all for the replies.

Sergey Kornilov admin 3/23/2011

The best approach is to create new custom view (Free_Group) and add WHERE clause to SQL query:

where value='free'


Then create user group "Free_Group" and make sure they have access to this custom view only.

C
choanhemnhe author 3/23/2011



The best approach is to create new custom view (Free_Group) and add WHERE clause to SQL query:

where value='free'


Then create user group "Free_Group" and make sure they have access to this custom view only.


Thank Administrator,

I think I found another solution.
Again, thanks very much