marklogic-community / grove

Grove, a toolkit full of tooling, templates, and other resources that help with building UI applications on top of MarkLogic.

Home Page:https://marklogic-community.github.io/grove/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide method of displaying items based on user role

freeweel opened this issue · comments

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.