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
No permission for Usage access to GENERATOR [CORE5531] #5799
Comments
Commented by: @dyemanov GRANT USAGE ON SEQUENCE GEN_EMPLOYE_ID TO ROLE AUTRE |
Modified by: Harmenil (karim)priority: Major [ 3 ] => Blocker [ 1 ] description: I have a Database with the table EMPLOYE, a What can I do to have a repercussion of the privileges? => I have a Database with the table EMPLOYE, a What can I do to have a repercussion of the privileges? |
Commented by: Harmenil (karim) GEN_EMPLOYE_ID is the generator for the table EMPLOYE |
Commented by: Harmenil (karim) The database is this kind |
Modified by: Harmenil (karim)Attachment: ZOO.FDB [ 13110 ] |
Commented by: @AlexPeshkoff Take one more look at waht Dmitry wrote: localhost bin # ./isql -user toto ZOO.FDB -role AUTRE localhost bin # ./isql ZOO.FDB localhost bin # ./isql -user toto ZOO.FDB -role AUTRE |
Commented by: Harmenil (karim) Tanks Alexander, but I already had this, |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @mrotteveel This comment may be a bit late, but wouldn't it be better to grant the usage permission to the trigger instead of to the role or user? |
Submitted by: Harmenil (karim)
Attachments:
ZOO.FDB
I have a Database with the table EMPLOYE, a
I add to the role "AUTRE" the access to the table "EMPLOYE" (SELECT, UPDATE, INSERT, DELETE)
When I want to INSERT with the "AUTRE", I am locked with the message 'no permission for USAGE access to GENERATOR GEN_EMPLOYE_ID'
Is that normal?
I didn't have the problem in the version 2.5.7
I have found nothing about it except the grants:
GRANT USAGE ON SEQUENCE GEN_EMPLOYE_ID TO AUTRE;
GRANT USAGE ON EXCEPTION EMPLOYEX TO AUTRE;
What can I do to have a repercussion of the privileges?
The text was updated successfully, but these errors were encountered: