Skip to content

Commit

Permalink
Change default scope
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-pimenta-DME committed Nov 23, 2023
1 parent 423f96b commit d5398f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Resource(APIBaseModel):
name: str = Field(description="Resource name")
uris: List[str] = Field(description="Resource URIs")
attributes: Optional[Any] = Field({}, description="Resource attributes")
scopes: Optional[List[str]] = Field(["access"], description="Resource scopes")
scopes: Optional[List[str]] = Field(["view"], description="Resource scopes")
ownerManagedAccess: Optional[bool] = Field(False, description="Enable/Disable management by the resource owner")
permissions: Optional[ResourcePermission] = Field(None, description="Resource permissions")
decisionStrategy: Optional[DecisionStrategy] = Field(DecisionStrategy.UNANIMOUS.value,
Expand Down

0 comments on commit d5398f5

Please sign in to comment.