Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
ea9822da
Commit
ea9822da
authored
10 years ago
by
Eric Cano
Browse files
Options
Downloads
Patches
Plain Diff
Moved grant to after creation of the targeted view.
parent
ab3ac683
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vmgr/oracleSchema.sql
+0
-7
0 additions, 7 deletions
vmgr/oracleSchema.sql
vmgr/oracleTrailer.sql
+7
-0
7 additions, 0 deletions
vmgr/oracleTrailer.sql
with
7 additions
and
7 deletions
vmgr/oracleSchema.sql
+
0
−
7
View file @
ea9822da
...
...
@@ -103,10 +103,3 @@ ALTER TABLE vmgr_tape_pool
ALTER
TABLE
vmgr_tape_tag
ADD
CONSTRAINT
fk_t_vid
FOREIGN
KEY
(
vid
)
REFERENCES
vmgr_tape_info
(
vid
)
ADD
CONSTRAINT
pk_tag
PRIMARY
KEY
(
vid
);
-- Permissions should be granted to the CNS schema for VMGR_TAPE_SIDE and
-- VMGR_TAPE_STATUS_VIEW.
UNDEF
cnsSchema
ACCEPT
cnsSchema
CHAR
DEFAULT
'castor_ns'
PROMPT
'Enter the name of the NS schema (default castor_ns): '
;
GRANT
SELECT
ON
vmgr_tape_side
TO
&
cnsSchema
;
GRANT
SELECT
ON
vmgr_tape_status_view
TO
&
cnsSchema
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vmgr/oracleTrailer.sql
+
7
−
0
View file @
ea9822da
...
...
@@ -395,3 +395,10 @@ BEGIN
END
LOOP
;
END
;
/
-- Permissions should be granted to the CNS schema for VMGR_TAPE_SIDE and
-- VMGR_TAPE_STATUS_VIEW.
UNDEF
cnsSchema
ACCEPT
cnsSchema
CHAR
DEFAULT
'castor_ns'
PROMPT
'Enter the name of the NS schema (default castor_ns): '
;
GRANT
SELECT
ON
vmgr_tape_side
TO
&
cnsSchema
;
GRANT
SELECT
ON
vmgr_tape_status_view
TO
&
cnsSchema
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment