User Roles permissions

Constraints of User role allowed to add a record in table.

A seller is only allowed to add a product, but a buyer shouldnt be able to. how to limit this from DB?

When adding a new field in product table, its only possible to add User Role as a field with all roles accessible(seller, buyer, etc)…

‘‘Add product button’’ is visible when current user’s role is seller , make the ability to sell items invisible

2 Likes

Way to go! :100: