-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * Fix #961 -- Move view detail permissions into project user policy * Change comment on project user policy * Restrict permissions to projects
- Loading branch information
1 parent
241d1ee
commit 96b7f8a
Showing
9 changed files
with
62 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
{ | ||
"clause": [ | ||
// Currently, "ordinary" users associated with a project have no | ||
// additional permissions over those given to all users. This may | ||
// change in the future. In particular, project users may be | ||
// permitted access to projects that are normally private. | ||
// In addition to the permissions provided by the organization member | ||
// policy, project users can view details of locations, parties, | ||
// relationships and resources. | ||
{ | ||
"effect": "allow", | ||
"action": ["spatial.view"], | ||
"object": ["spatial/$organization/$project/*"] | ||
}, | ||
{ | ||
"effect": "allow", | ||
"action": ["spatial_rel.view"], | ||
"object": ["spatial_rel/$organization/$project/*"] | ||
}, | ||
{ | ||
"effect": "allow", | ||
"action": ["party.view"], | ||
"object": ["party/$organization/$project/*"] | ||
}, | ||
{ | ||
"effect": "allow", | ||
"action": ["party_rel.view"], | ||
"object": ["party_rel/$organization/$project/*"] | ||
}, | ||
{ | ||
"effect": "allow", | ||
"action": ["tenure_rel.view"], | ||
"object": ["tenure_rel/$organization/$project/*"] | ||
}, | ||
{ | ||
"effect": "allow", | ||
"action": ["resource.view"], | ||
"object": ["resource/$organization/$project/*"] | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters