Open akiroz opened 7 years ago
I just want to add that this feature requires support from skygear-server.
Couldn't we just query the _user_role
table from the plugin?
Couldn't we just query the _user_role table from the plugin?
Yes, but that would break the current separation between plugin and server. For example, if we implement it in the plugin side, the python cloud code would not support this feature.
This feature requires some design. Could you add this to SkygearIO/features where this feature will get more focus.
Right now lambda / handler access can only be controlled using
authRequired
anduserRequired
. It would be nice to be able to control access by user role just like records.