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
The revoke statement fails [CORE5523] #5792
Comments
Commented by: @romansimakov Could you prepare a full script to reproduce the bug? |
Commented by: @AlexPeshkoff Did not reproduce - please provide full reproducible case: # ./isql -user sysdba employee /* Grant permissions for this database */ /* Grant permissions for this database */ |
Commented by: Ján Kolár (kolar_appliedp.com) I have the same problem but with older database 2.5.8 and ODS=10. Maybe you will find clue also for Firebird 3. I have problem revoking delete privilege on table PROFILE_DLMS (in attachment) even when I am connected as SYSDBA. Operation fails with following error message: Starting transaction... Executing... SQL Message : -607 Engine Code : 335544351 Total execution time: 0.224s |
Modified by: Ján Kolár (kolar_appliedp.com)Attachment: elmadb.gdb [ 13369 ] |
Commented by: Ján Kolár (kolar_appliedp.com) The reason is probably that Firebird does not handle correctly user names. 'sysdba' is sometimes different than 'SYSDBA'. This is excerpt from my RDB$PRIVILEGES table. If the name of grantor is stored with lower case, i cant use SQL revoke command. There is no problem with manually deleting from RDB$PRIVILEGES table appropriate record. TECHNICIAN SYSDBA S [null] LIMIT [null] 8 0 00000012:000007b6 |
Submitted by: Vicente Tejero Trueba (vicentett)
Attachments:
elmadb.gdb
I'm a user SYSDBA.
I have a table Concursantes and a role Alumnos.
I grant the select privileges on Concursantes to Alumnos.
When I execute the statement
revoke SELECT ON CONCURSANTES from ALUMNOS
Fails with message
SQL Message : -607
This operation is not defined for system tables.
Engine Code : 335544351
Engine Message :
unsuccessful metadata update
REVOKE failed
SYSDBA is not grantor of Select on CONCURSANTES to ALUMNOS.
The text was updated successfully, but these errors were encountered: