feathersjs-ecosystem / feathers-permissions

Simple role and service method permissions for Feathers
MIT License
184 stars 29 forks source link

how to set a user to admin role? #62

Closed wwbluechip closed 4 years ago

wwbluechip commented 4 years ago

Steps to reproduce

(First please check that this issue is not already solved as described here)

Expected behavior

Tell us what should happen

Actual behavior

Tell us what happens instead

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

NodeJS version:

Operating System:

Browser Version:

React Native Version:

Module Loader:

daffl commented 4 years ago

The permissions field is just another field in your model just like anything else. It just needs to be updated accordingly.