This topic is locked
[SOLVED]

  More help about security settings in phprunner v5.3

12/1/2010 8:15:46 AM
PHPRunner General questions
K
kiyange author

I have practice a lot with this staff.

  1. Users can see and edit other users data
    Every user who logged in successfully can view, edit, and delete other users data.
  2. Users can see and edit their own data only
    This option allows to restrict users to view and edit their own records only. To use this option you need to set a relationship between table that holds usernames and passwords and main data table.
  3. Users can see other users data, can edit their own data only
    This option is similar to Option 2, however, all users can view other users data but cannot edit or delete them.
    Option number 2 is my area of concentration

    I am not able to make students view their results, while their not the one posted, i think this option saves the one who posted the data to the system,therefor student are supposed to only view their results and not otherwise(not to post the results).So please is there anything i should do with the SQL STATEMENTS.I repeat i have received your email!.So what i need is to allow student to see their result posted by admin/lecturer that's all.

J
Jane 12/1/2010

Hi,
I see what you're saying.

OwnerID value of admin (or person who posts the data) is saved in the table automatically because Users can see and edit their own data only applied on all pages (list, add, edit, etc.). You need to create custom view on theDatasource tables tab, choose Users can see and edit other users data option on the Advanced security settings dialog and assign permissions for admin only on the User group permissions dialog for this view.

K
kiyange author 12/3/2010



Hi,
I see what you're saying.

OwnerID value of admin (or person who posts the data) is saved in the table automatically because Users can see and edit their own data only applied on all pages (list, add, edit, etc.). You need to create custom view on theDatasource tables tab, choose Users can see and edit other users data option on the Advanced security settings dialog and assign permissions for admin only on the User group permissions dialog for this view.

K
kiyange author 12/3/2010

Howdy.(hello),

I got your explanations, and

i believe practice makes perfect,so

let me play around with this then i will give you the feedback.

Thanks....... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=54883&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

K
kiyange author 12/6/2010