Create Namespace Permission Denied Returns Permission Denied for Getting Namespace
Description
Release Notes
Fixed bug which checks GET permission on a namespace which does not exist yet during the namespace creation flow.
is duplicated by
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created August 18, 2021 at 6:25 PM
Updated May 25, 2023 at 7:56 PM
Resolved May 2, 2023 at 12:51 AM
If a user attempts to create a namespace when they don't have permission to, the error returned will say that the user does not have "GET" permission on the namespace instead of the expected "CREATE" permission which may be misleading.
We suspect this happens because it makes a check on the namespace first to check if it already exists and/or is a reserved namespace ID before actually attempting to create the namespace.