Sample code for role-based content in MEAN Generator
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

(Edit: Clarified question / added links)

I'm prototyping an app with the CRUD scaffolding tool (Ie, MEAN generator Can someone show me / explain how to hide / show attributes depending on the logged-in user's role? There is a role based permission system already in the scaffolding tool. I just cannot find docs / guides on doing this, and I don't have time to dig into the code.

Example: An admin has an "approval" checkbox on an "Articles" form, whereas a user would not be see this (enforced on the controller-side as well).

Crowdsource coding tasks.

0 Solutions