Welcome Guest, Not a member yet? Register   Sign In
Shield: how to create user-permission level ?
#1

Hey guys,
I would like to ask about how to create any custom user-permission using shield (I don't know the keywords Huh ).
For example: 
- I have a table for brands, say it's brand A, B, C, and so on.
- I want to set the exact user, let's say 'John' have access only for brand A and C. and throws forbidden access if tries to access the other brand.

Many thanks!
Reply
#2

SEE: Authorization, Groups and Permissions.
Create groups than add permissions to the groups.

CodeIgniter 4 Shield Users Guide - Authorization
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB