Comments (2)
Have we already discussed how we would like to do this?
from drupal-admin-ui.
I don't thing we have :)
Conceptually the data is available once the endpoint is exposed. One thing we could do is a render prop
style HOC which allows you to specify which permission is needed for the route / component underneath. This component would look at the current user, and all its permission from all the roles and then show the inner component, or not.
This could be useful in not just routes but also other links throughout the UI.
from drupal-admin-ui.
Related Issues (20)
- Place elint dependencies in root workspace
- An in-range update of react-redux-loading-bar is breaking the build 🚨 HOT 3
- An in-range update of enzyme is breaking the build 🚨 HOT 10
- An in-range update of prettier is breaking the build 🚨 HOT 4
- An in-range update of webpack-cli is breaking the build 🚨 HOT 6
- An in-range update of @types/jest is breaking the build 🚨 HOT 9
- An in-range update of deepmerge is breaking the build 🚨
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 12
- An in-range update of emotion is breaking the build 🚨 HOT 18
- An in-range update of eslint-plugin-jsx-a11y is breaking the build 🚨 HOT 1
- An in-range update of react-axe is breaking the build 🚨 HOT 3
- An in-range update of babel7 is breaking the build 🚨 HOT 22
- An in-range update of @types/react-dom is breaking the build 🚨 HOT 8
- An in-range update of react is breaking the build 🚨 HOT 7
- An in-range update of downshift is breaking the build 🚨 HOT 21
- An in-range update of react-side-effect is breaking the build 🚨
- Current Project Status? HOT 1
- An in-range update of history is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-prettier is breaking the build 🚨 HOT 2
- How to use it?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-admin-ui.