1
Is there any solution for access control by input?
Example: a given user can access a form but cannot access a given field, another user can access the same form and have access to the field in question.
1
Is there any solution for access control by input?
Example: a given user can access a form but cannot access a given field, another user can access the same form and have access to the field in question.
Browser other questions tagged laravel acl
You are not signed in. Login or sign up in order to post.
I believe that this type of control is effective in client-side. Maybe with Javascript...
– ShutUpMagda
But then the user will have access to circumvent
– Gustavo Amorim
There is no way to do this in PHP. You can define in ACLS some rules for not load the fields for a particular user. But PHP will not control the behavior of FORM. Who controls FORM is the browser, and the browser talks to Javascript and HTML.
– ShutUpMagda
The model tb can prohibit editing certain fields based on their access rules. And in PHP, that’s what gives (I believe).
– ShutUpMagda
First question? How are you doing your authentication ? and after that, using some technique for authorization ? are complementary things but at different times! your question is very broad, could put a minimal and real example, maybe we can direct!
– novic