Skip to content

409 error though adding the policy is requested properly #44

@kai-draft

Description

@kai-draft

Hello.

I have requested to add a policy, but the response code is 409.
I think the error statement is just a misprint, but I'd like to know what is wrong in this policy.

policy
{
"id": "no-name",
"content": "permit(principal is User, action == Action::"access", resource is Photo) when { resource.type == "Public" };"
}

response
{
"reason": "The requested resource already exists",
"description": "policy with the given id(no-name) already exists",
"code": 409
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions