1
Disable the display of the users model for non-admin users through hook extension
Source: directus/directus#24951 · opened by @exqmjmz
Summary
I found accountability attr have "admin"
It is related to the police
<img width="1284" alt="image" src=" />
my hook extensions code,it is success disable show users model for not admin user.
screenshot:
<img width="842" alt="image" src=" />
Basic Example
_No response_
Motivation
This is a discussion to share, not a feature request.
Detailed Design
• none
Requirements List
• none
Drawbacks
none
Alternatives
• none
Adoption Strategy
• none
Unresolved Questions
_No response_
I found accountability attr have "admin"
It is related to the police
<img width="1284" alt="image" src=" />
my hook extensions code,it is success disable show users model for not admin user.
screenshot:
<img width="842" alt="image" src=" />
Basic Example
_No response_
Motivation
This is a discussion to share, not a feature request.
Detailed Design
• none
Requirements List
• none
Drawbacks
none
Alternatives
• none
Adoption Strategy
• none
Unresolved Questions
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
Configurable hook execution order for extensions
3 votes · 0 comments
Display a link from the item to his data model
2 votes · 0 comments
Directus Extensions: Provide Settings-Option
6 votes · 0 comments
A way for a hook to identify root calls
1 vote · 0 comments
Move Extension Settings to drawer trigggered by settings icon
1 vote · 0 comments
No comments yet.