Comments (1)
policy binded to role using public.role_to_policy table
user binded to owner using public.user_owner_mapping;
Role should be binded with policy using public.role_to_policy
User binded to role through owner using public.owner_to_role.
In case, user doesn't binded to role, ODD will try to use default role by authority ADMIN or USER
In case, ODD cannot specify default role and user doesn't binded to role, list of policies will be empty.
If you want to edit or create new PermissionResourceType
1.You need to update Administrator(and other policies if needed) and add your new resource
2.add new resource to PolicyTypeDto, AuthorizationManagerType, PolicyConditionKeyDto and PermissionResourceType
3.Create PermissionExtractor by extending AbstractContextualPermissionExtractor
4.Create {ResoruceName}PolicyResolverContext which will be used to validate policies and ownership(if needed).
5.add new method extract{ResourceName}Permissions to PolicyPermissionExtractor
6.Create ConditionResolver by extending AbstractConditionResolver
API's:
- api/identity/whoami - returns MANAGEMENT permissions for role.
- api/resource/{PermissionResourceType}/{resource_id}/permissions - returns specific polices by PermissionResourceType for role.
from odd-platform.
Related Issues (20)
- Search page freezing on loading state for tabs with 0 entities
- Create Data Quality Dashboard HOT 1
- Cannot send email HOT 1
- USe odd.platform-base-url property instead of PLATFORM_HOST_URL HOT 1
- Support new DataEntityType - VECTOR_STORE and new DatasetFieldType - TYPE_VECTOR
- Proper setup TestContainers for DB related unit testing
- Unit test implementation for Data Quality Dashboard HOT 1
- Query Examples as part of Data Modeling
- Add description and correct examples for the set of "ingestion" endpoints for Swagger HOT 1
- Unable to add description after certain length in the Data Entity Structure in ODD Platform HOT 2
- MetaData in the Data Entity not persisting in the ODD platform after few minutes(Approx 20 Mins) HOT 4
- Update odd-integration-manifests version to 0.0.6 HOT 1
- Add icon for CKAN and scylladb integrations
- [QUERY EXAMPLES] Not listed all Linked entities on Dataset page HOT 1
- [MASTER DATA. REFERENCE DATA] MVP for look-ups
- [DATA MODELING. RELATIONSHIPS] Introduce list of relathionships between Data Entities HOT 1
- The collector always restarts HOT 8
- Create new Query Example permission policy HOT 1
- unable to run locally HOT 3
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 odd-platform.