------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4663/
------------------------------------------------------------------------------

New ticket #4663 by nanouck
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
cannot set custom policy for API Token 
==============================================================================

# What version are you running?
3.0.1

# What's the URL of the page containing the problem?
/account/preferences/#authentication


# What steps will reproduce the problem?
1. create an API Token
2. click on full-access to change policy to custom
3. create a custom policy

````
{
  "resources": {
    "repository": {
      "*": {
        "allow": [
          "POST"
        ]
      }
    },
    "*": {
      "block": [
        "*"
      ]
    }
  }
}
````

# What is the expected output? What do you see instead?
full-access remains selected and the policy has not changed when curl access to 
API
If set read only policy and change to custom with above policy => curl fail

# What operating system are you using? What browser?
I run curl POST command against reviewboard API

# Please provide any additional information below.


------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to