Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
e96b1acc
Commit
e96b1acc
authored
7 years ago
by
nixonrodrigues
Committed by
kevalbhatt
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2486 :- Policy json file for authorization in distro conf
Signed-off-by:
kevalbhatt
<
kbhatt@apache.org
>
parent
a6b3521e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
9 deletions
+61
-9
atlas-simple-authz-policy.json
distro/src/conf/atlas-simple-authz-policy.json
+61
-0
policy-store.txt
distro/src/conf/policy-store.txt
+0
-9
No files found.
distro/src/conf/atlas-simple-authz-policy.json
0 → 100644
View file @
e96b1acc
{
"roles"
:
{
"ROLE_ADMIN"
:
{
"adminPermissions"
:
[
{
"privileges"
:
[
".*"
]
}
],
"entityPermissions"
:
[
{
"privileges"
:
[
".*"
],
"entityTypes"
:
[
".*"
],
"entityIds"
:
[
".*"
],
"classifications"
:
[
".*"
]
}
],
"typePermissions"
:
[
{
"privileges"
:
[
".*"
],
"typeCategories"
:
[
".*"
],
"typeNames"
:
[
".*"
]
}
]
},
"DATA_SCIENTIST"
:
{
"entityPermissions"
:
[
{
"privileges"
:
[
"entity-read"
,
"entity-read-classification"
],
"entityTypes"
:
[
".*"
],
"entityIds"
:
[
".*"
],
"classifications"
:
[
".*"
]
}
]
},
"DATA_STEWARD"
:
{
"entityPermissions"
:
[
{
"privileges"
:
[
"entity-read"
,
"entity-create"
,
"entity-update"
,
"entity-read-classification"
,
"entity-add-classification"
,
"entity-update-classification"
,
"entity-remove-classification"
],
"entityTypes"
:
[
".*"
],
"entityIds"
:
[
".*"
],
"classifications"
:
[
".*"
]
}
]
}
},
"userRoles"
:
{
"admin"
:
[
"ROLE_ADMIN"
]
},
"groupRoles"
:
{
"ROLE_ADMIN"
:
[
"ROLE_ADMIN"
],
"hadoop"
:
[
"DATA_STEWARD"
],
"DATA_STEWARD"
:
[
"DATA_STEWARD"
],
"RANGER_TAG_SYNC"
:
[
"DATA_SCIENTIST"
]
}
}
This diff is collapsed.
Click to expand it.
distro/src/conf/policy-store.txt
deleted
100644 → 0
View file @
a6b3521e
##Policy Format
##r-READ, w-WRITE, u-UPDATE, d-DELETE
##Policy_Name;;User_Name1:Operations_Allowed,User_Name2:Operations_Allowed;;Group_Name1:Operations_Allowed,Group_Name2:Operations_Allowed;;Resource_Type1:Resource_Name,Resource_Type2:Resource_Name
##
adminPolicy;;admin:rwud;;ROLE_ADMIN:rwud;;type:*,entity:*,operation:*,relationship:*
dataScientistPolicy;;;;DATA_SCIENTIST:r;;type:*,entity:*,relationship:*
dataStewardPolicy;;;;DATA_STEWARD:rwu;;type:*,entity:*,relationship:*
hadoopPolicy;;;;hadoop:rwud;;type:*,entity:*,operation:*,relationship:*
rangerTagSyncPolicy;;;;RANGER_TAG_SYNC:r;;type:*,entity:*
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment