Skip to content

Commit

Permalink
fix(bootstrap): add EDIT_LINEAGE privilege to some default policies (d…
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-radhakrishnan authored and shirshanka committed Jan 18, 2023
1 parent f203905 commit 9c904b0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions metadata-service/war/src/main/resources/boot/policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
},
"privileges":[
"EDIT_ENTITY",
"VIEW_ENTITY_PAGE"
"VIEW_ENTITY_PAGE",
"EDIT_LINEAGE"
],
"displayName":"Root User - Edit and View All Resources",
"description":"Grants full edit and view privileges for all resources to root 'datahub' root user.",
Expand Down Expand Up @@ -216,7 +217,8 @@
"MANAGE_ENTITY_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_TAGS_PRIVILEGE",
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE"
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE",
"EDIT_LINEAGE"

],
"displayName":"Admins - Metadata Policy",
Expand Down Expand Up @@ -290,7 +292,8 @@
"MANAGE_ENTITY_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_TAGS_PRIVILEGE",
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE"
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE",
"EDIT_LINEAGE"
],
"displayName":"Editors - Metadata Policy",
"description":"Editors have all metadata privileges.",
Expand Down Expand Up @@ -380,7 +383,8 @@
"MANAGE_ENTITY_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_GLOSSARY_TERMS_PRIVILEGE",
"MANAGE_DATASET_COL_TAGS_PRIVILEGE",
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE"
"EDIT_ENTITY_ASSERTIONS_PRIVILEGE",
"EDIT_LINEAGE"
],
"displayName":"Asset Owners - Metadata Policy",
"description":"Asset Owners have all metadata privileges ONLY for assets they own.",
Expand Down

0 comments on commit 9c904b0

Please sign in to comment.