marklogic-community / grove

Grove, a toolkit full of tooling, templates, and other resources that help with building UI applications on top of MarkLogic.
https://marklogic-community.github.io/grove/
Other
5 stars 1 forks source link

Provide method of displaying items based on user role #25

Open freeweel opened 5 years ago

freeweel commented 5 years ago

There is no out of the box way to control what is displayed based on a specific role or set of permissions. An example of this is a user in a "read-only" role should not see an EDIT button. There are other use cases where a user might get a different message depending on what role they are in.

It was be very beneficial to either have methods added to do this, or a specific set of boilerplate code that tells how to do this.