Hello Everyone,
I was working on user restrictions and permissions, where I am basically trying to check if a user has an access to a certain page and restrict them accordingly.
For this I have created two tables in my database which are -
Permission table - this table has 2 major identifier columns, 1. Primary key, 2 permission name
Access Table - which has a primary key, user id as foreign key and the foreign key of permissions table.
Now, In user restrict I put the following conditions and it does work properly for one page, But I don’t want to set the condition of permission access as static but make it dynamic by passing a variable in their, is this possible and if so how can I do it?
any help would be much appreciated, thank you so much
regards,
mohit