feathersjs-ecosystem / feathers-permissions

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

Permissions field type in DB? #67

Closed mroushdy closed 4 years ago

mroushdy commented 4 years ago

What's the field type of permissions in a mysql db? Is it a comma-separated string or a JSON?

daffl commented 4 years ago

As the documentation states:

The list of permissions will be obtained from params[entity] and field. It can be a comma separate list or an array of permissions