Permissions gate for the ui
Building a gating wrapper and defining a set of maps with roles, scopes, and permissions.
The gating wrapper accepts an array of scopes the user must have to view protected components. We will also provide a couple of handy props for certain edge cases.