oursky / skygear-rbac

A generic role base access control with resource policy, designed to work with skygear-auth
0 stars 2 forks source link

Allow create role without assignments #14

Closed IniZio closed 5 years ago

IniZio commented 5 years ago

Currently roles have to be created with an assigned user. This PR creates a nobody subject so roles without assignment can be listed

IniZio commented 5 years ago

Since roles often come with meta fields e.g. name and description, it should not be handled by RBAC.