Skip to main content
Topic: User access to table field (Read 1233 times) previous topic - next topic

User access to table field

is it possible to limit access of a specific table field to admin only ?
So far i see no way to do this.

Re: User access to table field

Reply #1
@nepo77 yes it possible.

Note: Step 1 to 4 are indicated in the image(Roles.png) below.

1. Click on the User Records Management.
2. Select the table you want to work on.
3. Configure the User Records Management. Note: The field on the left are from the table selected in step two and the fields on the right are from the user table.
4. Check this box if you want the user to only have read permission on the record.
Click Okay.

Here is PhpRad Docs to read more.

 

Re: User access to table field

Reply #2
Thanks , this already works for me, its just that i need to limit access to a specific field, so the user can edit the record but not the field.
Because the field defines the userrole, and he shouldnt be able to change his own role.

Re: User access to table field

Reply #3
Thanks , this already works for me, its just that i need to limit access to a specific field, so the user can edit the record but not the field.
Because the field defines the userrole, and he shouldnt be able to change his own role.
@nepo77 All you have to do is, hide that field on Edit Page.

Re: User access to table field

Reply #4
But then its gone for the admin as well...

Re: User access to table field

Reply #5
But then its gone for the admin as well...
Yeah it is.
you just have to figure a way it would work fine. You know the limits of PhpRad app, you just have to figure a way around, to archive what you want.
My opinion is for you to manually edit the page to suit your need.