New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create or grant roles #2088
Comments
Any acknowledgment of the issue ? Am I doing something wrong here ? |
Hey! Sorry for the slow reply. We are going to start working on this soon. Some details: #2104 We have some pipeline of features/fixes in progress, so I think we probably get to this one in September. |
Thanks for the update! |
Hello @kelvich were there any advancements for this one? |
Any updates @kelvich ? |
Hey @Ranguna! Not really unfortunately. We've prioritized branching release and several integrations in favor of allowing manual user managements. Now we mostly busy with launching more aws regions and consumption metering -- we select areas of work which receive most of complains. So it is still on a roadmap waiting to be implemented. |
All right, thanks for the info! |
Hello @kelvich :) |
Hey, @Ranguna Now we started some preparatory work for this =) High chances that it will be shipped in Q1. As a side note -- probably we can make our roadmap more public to make it easier to track. WDYT @stepashka? Should we just open neon roadmap? |
@kelvich amazing news, keep up the awesome work everyone! |
Hello @kelvich! Are there any updates that can be shared about this? |
Hey, @Ranguna! Yes, we've recently merged #3891 and few other patches, and will release it to prod soon. cc @save-buffer |
Wow best news I've had all week, and it wasn't a calm week xD Thanks for the update, can't wait to take neon for a spin once again! |
Hello @kelvich ! Any news on this one? |
Hey! You can create roles now: https://neon.tech/docs/manage/roles#manage-roles-with-sql Forgot to close this issue. Closing it now. |
Nice!!!! |
Running the following query:
Results in the following error:
The query was performed from the UI and also programmatically with the DB owner credentials.
I tried to workaround this by creating two users through the neon UI console and then granting one user to the other (just a workaround so I can test the rest of my migration), but I was not able to grant one user to the other:
grant one_existing_user to another_existing_users;
Results in:
The use case:
My existing migrations depend on
test_role
to exist and expecttest_role
to be granted totest_user
.test_role
is used in the migration scripts whilsttest_user
is used by the application to query the database. The migrations grant limited table access totest_role
. In the future,test_role
can be granted to other users to be used by other applications.Upon further investigation, it seems the only user that has the ability to create roles is the
zenith_admin
user.Is it possible to give this permission to the DB owner as well?
Seems that this is locking me out of my own DB a bit.
The text was updated successfully, but these errors were encountered: