nest-access-control icon indicating copy to clipboard operation
nest-access-control copied to clipboard

How can a user edit elements with common characteristics?

Open rubenphi opened this issue 2 years ago • 1 comments

A user has the director role, he belongs to a company, he can also create and edit work groups that belong to that company. How can I get him to edit all the groups belonging to his own company, but not the groups of other companies?

rubenphi avatar May 31 '22 17:05 rubenphi

If you are lucky to have a chance to use nestjs 8, documentation gives example on how to implement castle. I found it more practical for those scenario.

Le 31 mai 2022 14:00:04 GMT-04:00, rubenphi @.***> a écrit :

A user has the director role, he belongs to a company, he can also create and edit work groups that belong to that company. How can I get him to edit all the groups belonging to his own company, but not the groups of other companies?

-- Reply to this email directly or view it on GitHub: https://github.com/nestjsx/nest-access-control/issues/82 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

cantoute avatar Jun 01 '22 05:06 cantoute