SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: User permission

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    User permission

    Hello,

    I have a MySQL table with different users and a website with different pages.
    Now I want to give i.e. user1 permission to see page 1 and 2, user2 page 3 and 4, user3 page 5 and 6.
    How can I solve this 'problem'?

  2. #2
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    do you have separate rows in a table for each user? then it's not possible. you have to deal with row-level security in your front end application.
    Check out our new Industry News forum!
    Keep up-to-date with the latest SP news in the Community Crier

    I edit the SitePoint Podcast

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am still at the beginning and so I can put the user in every kind of table.
    I could have one table for the users, an other table with groups and the third table with relations between this two tables (userId and groupId).
    I think with this three table it could work.
    Who can help me?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •