You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by robertamarton <gi...@git.apache.org> on 2016/03/31 18:51:42 UTC
[GitHub] incubator-trafodion pull request: TRAFODION [1806] - create view w...
GitHub user robertamarton opened a pull request:
https://github.com/apache/incubator-trafodion/pull/409
TRAFODION [1806] - create view with sequence failed with ERROR[4481] though the user has been granted usage privilege
The create view code is looking for SELECT privilege on sequence generators
but Trafodion only allows USAGE privilege to be specified.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertamarton/incubator-trafodion mrg_407
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/409.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #409
----
commit fb9c88a13eb7f22befe2ca8bb5785aea6f005b66
Author: Roberta Marton <ro...@apache.org>
Date: 2016-03-31T16:45:27Z
TRAFODION [1806] - create view with sequence failed with ERROR[4481] though the
user has been granted usage privilege
The create view code is looking for SELECT privilege on sequence generators
but Trafodion only supports the USAGE privilege.
- The code was fixed to look for USAGE (not SELECT) privilege if the object type
is sequence generator.
- Changed code to store privilege descriptors for sequence generators in the
NATable structure at construction time to avoid look ups later.
- Added code to remove the sequences from NATable cache if a privilege change
was detected.
- Added tests to privs2/TEST135
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-trafodion pull request: TRAFODION [1806] - create view w...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-trafodion/pull/409
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---