Skip to content

Commit

Permalink
Fixes #24872: Rework api authorization models
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed May 16, 2024
1 parent 85abed9 commit 16e81d3
Show file tree
Hide file tree
Showing 5 changed files with 168 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ trait EndpointSchema {
// data container name: the expected object key in answer
def dataContainer: Option[String]

// any authorization that allows to access that API - by default, admin.write
def authz: List[AuthorizationType] = List(AuthorizationType.Administration.Write)
// any authorization that allows to access that API
def authz: List[AuthorizationType]
}

trait EndpointSchema0 extends EndpointSchema {
Expand Down
Loading

0 comments on commit 16e81d3

Please sign in to comment.