-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Grants don't work for procedures used inside views [CORE927] #1328
Comments
Modified by: Sergey Fetiskin (fetis)Attachment: view_grant.sql [ 10125 ] |
Modified by: @dyemanovassignee: Dmitry Yemanov [ dimitr ] |
Modified by: Sergey Fetiskin (fetis)description: This problem similar CORE93 except that view have subselect with stored procedure. => This problem similar CORE93 except that view have subselect with stored procedure. After executing script, when you try do (logged as user TEST) select * you get This user does not have privilege to perform this operation on this object. |
Modified by: @pcisarWorkflow: jira [ 11201 ] => Firebird [ 14697 ] |
Commented by: Adam Iredale (ai.software.engineer) This is still an issue in 2.1.1.17910. I have created a view that relies on stored procedures to build it's data. CREATE VIEW V_SOMETHING The view has been granted access to both procedures and the role that the user is logged in with has been granted permission to use the view. An error occurs when trying to SELECT * FROM V_SOMETHING: Message: isc_dsql_prepare failed SQL Message : -551 Engine Code : 335544352 |
Commented by: @pavel-zotov Still the same in 2.5.2.26390 DDL: |
Modified by: @dyemanovstatus: Open [ 1 ] => In Progress [ 3 ] |
Modified by: @dyemanovstatus: In Progress [ 3 ] => Open [ 1 ] |
Modified by: @dyemanovstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Alpha 1 [ 10331 ] Fix Version: 2.5.2 [ 10450 ] |
Commented by: @pcisar Test created. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Sergey Fetiskin (fetis)
Is related to QA473
Attachments:
view_grant.sql
Votes: 4
This problem similar CORE93 except that view have subselect with stored procedure.
Script (in attach) illustrate the problem. TEST is test user without any rights before.
After executing script, when you try do (logged as user TEST)
select *
from VIEW_A
you get
This user does not have privilege to perform this operation on this object.
no permission for execute access to PROCEDURE A.
Commits: efa1adf 8ffffb7 1575ff5 6706f10
The text was updated successfully, but these errors were encountered: