Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new Query Example permission policy #1568

Closed
Vladysl opened this issue Jan 2, 2024 · 2 comments · Fixed by #1633
Closed

Create new Query Example permission policy #1568

Vladysl opened this issue Jan 2, 2024 · 2 comments · Fixed by #1633
Assignees
Labels
kind: feature New feature request scope: backend Backend task scope: frontend Frontend task
Milestone

Comments

@Vladysl
Copy link
Contributor

Vladysl commented Jan 2, 2024

Create new Policy QUERY_EXAMPLE
Create new Policy Permissions:
QUERY_EXAMPLE_UPDATE(belongs to QUERY_EXAMPLE),
QUERY_EXAMPLE_DELETE(belongs to QUERY_EXAMPLE),
QUERY_EXAMPLE_DATASET_CREATE(belongs to DATA_ENTITY),
QUERY_EXAMPLE_DATASET_DELETE(belongs to DATA_ENTITY).

Condition field - "queryexample:name"

FE part:

  • host/management/policies - should accept new policy type QUERY_EXAMPLE
  • host/data-modelling/query-examples/{query_example_id}- should perform /api/resource/QUERY_EXAMPLE/{query_example_id}/permissions request to retrieve allowed policies for current user
  • host/dataentities/{data_entity_id}/query-examples - should take allowed policies from /api/resource/DATA_ENTITY/{data_entity_id}/permissions request
  • changed API for create/delete queryExample To Data Entity relations
@Vladysl Vladysl added the kind: feature New feature request label Jan 2, 2024
@Vladysl Vladysl self-assigned this Jan 2, 2024
@RamanDamayeu
Copy link
Contributor

@anatolii-yemets
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: feature New feature request scope: backend Backend task scope: frontend Frontend task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants