Kamal Chapagain
06/12/2024, 6:53 AMJason Wong
06/12/2024, 1:42 PMJason Wong
06/12/2024, 7:24 PMresource:create, resource:update, resource:read
and Jack, Jane have resource:read
), what would the recommended path be? My first thought was to have a role per resource/action combination and then add the combination roles of I want to the user.Michaela Sekaninová
06/13/2024, 3:24 PMassociated_tenants
. Based on documentation I didn't see the possibility input tenant while creating user via API.
Could you please help me with this process, how to create users via API and see them in UI?
Thank you in advance permitJason Wong
06/13/2024, 3:37 PM/allowed
, what's the difference between "allow": true
and "result": true
in the response?C
06/14/2024, 4:55 PMVinay Rawat
06/17/2024, 1:46 PMGET https://<pdp-hostname>/local/roles
Response:
HTTP/1.1 404 NotFound
{
"detail": "OPA has no roles stored in cache! Did you define roles yet via the sdk or the cloud console?"
}
Jason Wong
06/17/2024, 3:34 PMkey
attribute but that API doesn't seem like it requires one.
body: %{
"body" => %{},
"detail" => [
%{
"ctx" => %{"pattern" => "^[A-Za-z0-9\\-_]+$"},
"loc" => ["key"],
"msg" => "string does not match regex \"^[A-Za-z0-9\\-_]+$\"",
"type" => "value_error.str.regex"
}
]
},
Jason Wong
06/17/2024, 4:50 PMChauncy McCaughey
06/19/2024, 2:38 PMPermitConnectionError
errors on bulk_check
operations using the python SDK. the only error message is raise PermitConnectionError\nTypeError: PermitConnectionError.__init__() missing 1 required positional argument: 'message'"
. i can manually perform the exact same operation with same inputs and not receive the error. can confirm the PDP is fully available, but not sure what else i should check. does it make sense to automatically retry the operation?Jason Wong
06/19/2024, 3:33 PMRajeev Chotai
06/20/2024, 5:35 AMTsai Dylan
07/03/2024, 4:00 PMJoop
07/04/2024, 9:49 AMTsai Dylan
07/08/2024, 5:17 AMAlex Bihshtein
07/08/2024, 10:56 AMSAGAR singh
07/08/2024, 7:04 PMChad R
07/08/2024, 10:29 PMpermit.check
for a user on a resource instance
. The resource type key is population
and the resource instance ID is a GUID (e.g., "edc605f8-106b-47c9-8c09-5ee6d7d130d5"). I've added resource instance roles (e.g., create
, delete
, update
). I've assigned my user (in the default tenant) to the resource instance with the create
role. Every time I call check I get a false
and I expected true. I've tried:
1. permit.Check("username","create","population:edc605f8-106b-47c9-8c09-5ee6d7d130d5");
2. permit.Check(new UserKey("username"), action, new ResourceInput("population", id: "edc605f8-106b-47c9-8c09-5ee6d7d130d5"));
Craig Haseler
07/09/2024, 6:10 PMJason Wong
07/09/2024, 6:58 PMauthorized_users
and I'm getting an error. It says EAP so I don't know if I need to be given access or something.Rotem Slootzky
07/10/2024, 10:39 AMJason Wong
07/10/2024, 12:55 PMCraig Haseler
07/10/2024, 2:27 PMJason Wong
07/10/2024, 4:53 PMJonas Weidner
07/11/2024, 9:21 AMCraig Haseler
07/11/2024, 6:42 PM{
"id": "85d4761cb2d54d7f9c59ab50476486a9",
"title": "We could not find the requested object/s",
"support_link": "<https://permit-io.slack.com/ssb/redirect>",
"error_code": "NOT_FOUND",
"message": "The requested data could not be found, we could not find 'rolederivationrule' with the given filters: org_id='6fa74dd8-8799-4f86-ab82-8d1826aaec47', project_id='1469059a-9708-4745-b62c-752c104b40d0', env_id='129f179c-5df5-401e-9ff1-d7e4330b4caa'. Please try again with different filters.\nIf you are sure there is an object with the given filters, contact our support on Slack for further guidance.",
"additional_info": {
"filters": {
"org_id": "6fa74dd8-8799-4f86-ab82-8d1826aaec47",
"project_id": "1469059a-9708-4745-b62c-752c104b40d0",
"env_id": "129f179c-5df5-401e-9ff1-d7e4330b4caa"
}
}
}
Jason Wong
07/12/2024, 12:53 AMNguyen Pham
07/12/2024, 1:42 AMJoop
07/19/2024, 12:40 PMTaha Shaikh
07/22/2024, 9:09 AM502 Bad Gateway
when im trying to delete tenants from my environment using the API. Even on the web portal, its giving 502. Can anyone help?