SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    griffith
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Show textarea based on permissions

    I have form fields that can be edited by Group A but only viewed by Group B. Is there a way to assign permissions to specific form fields?

  2. #2
    SitePoint Enthusiast hombre_de_las_ca's Avatar
    Join Date
    Apr 2005
    Location
    Bangalore, India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking

    Making a guess that u are having a password protected access just put an if else statement based on the user previlege, i.e put a check to verify the user level and bang...u have done it...

    if this does not solve it then try putting a bit more info about the access system over here.....

    hombre_de_las_cavernas
    Don't ask what your Country can do for you,
    Ask what you can do for your Country.

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    griffith
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No password detection. Permissions are given to specific ip. Trying to further lock it down by having the form page recognize which group is accessing and thus displaying the proper fields.

  4. #4
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You need to set some type of permission cookie/session. Then you can check their permission level before displaying the form field.


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
  •