0
attspacecom created
4 Answer(s)
-
0
Help on this asap please. Thank you
-
0
Hi,
Probably I couldn't understand the question bery well but if you want to grant permisison for a specific user, you can use
_context.UserPermissions
and insert necessary permisison. -
0
Hi,
Probably I couldn't understand the question bery well but if you want to grant permisison for a specific user, you can use
_context.UserPermissions
and insert necessary permisison.I dont want to grant permission for a specific user.
I want to grant permission for a specific ROLE. i want to do this in Seed function. Can guide me on this?
-
0
Hi,
In that case, you can insert a new record to
_context.RolePermissions
, this should grant a permission to a given role.