Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tags to show content for admin only #5

Open
mcroteau opened this issue Nov 16, 2018 · 0 comments
Open

Add tags to show content for admin only #5

mcroteau opened this issue Nov 16, 2018 · 0 comments
Assignees

Comments

@mcroteau
Copy link
Owner

mcroteau commented Nov 16, 2018

[[HAS_ADMIN_ROLE]]
Administrator content
[[/HAS_ADMIN_ROLE].

Might be only good for layout, will need to revisit for page content and product content as well. Might also want to consider Role maintenance and having the tags check for any role.

Example:

[[HAS_ROLE::ROLE_CUSTOMER_SERVICE]]
Customer service content
[[//HAS_ROLE::ROLE_CUSTOMER_SERVICE]]

@mcroteau mcroteau self-assigned this Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant