Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
import
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
import
Commits
be731651
Commit
be731651
authored
May 10, 2016
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
SQL : ajout script de création des privilèges nécessaires.
parent
5e9e3914
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/module.sql
+55
-1
55 additions, 1 deletion
data/module.sql
with
55 additions
and
1 deletion
data/module.sql
+
55
−
1
View file @
be731651
...
@@ -170,3 +170,57 @@ create or replace PACKAGE BODY UNICAEN_IMPORT AS
...
@@ -170,3 +170,57 @@ create or replace PACKAGE BODY UNICAEN_IMPORT AS
-- END OF AUTOMATIC GENERATION --
-- END OF AUTOMATIC GENERATION --
END
UNICAEN_IMPORT
;
END
UNICAEN_IMPORT
;
/
/*********************************************************************************************
* Privilèges
*********************************************************************************************/
insert
into
CATEGORIE_PRIVILEGE
(
ID
,
CODE
,
LIBELLE
,
ORDRE
)
values
(
CATEGORIE_PRIVILEGE_ID_SEQ
.
nextval
,
'import'
,
'Import'
,
2
);
/
insert
into
PRIVILEGE
(
ID
,
CATEGORIE_ID
,
CODE
,
LIBELLE
,
ORDRE
)
select
PRIVILEGE_ID_SEQ
.
nextval
,
cat
.
id
,
'ecarts'
,
'Écarts entre les données de l
''
application et ses sources'
,
1
from
CATEGORIE_PRIVILEGE
cat
where
code
=
'import'
;
/
insert
into
PRIVILEGE
(
ID
,
CATEGORIE_ID
,
CODE
,
LIBELLE
,
ORDRE
)
select
PRIVILEGE_ID_SEQ
.
nextval
,
cat
.
id
,
'maj'
,
'Mise à jour des données à partir de leurs sources'
,
2
from
CATEGORIE_PRIVILEGE
cat
where
code
=
'import'
;
/
insert
into
PRIVILEGE
(
ID
,
CATEGORIE_ID
,
CODE
,
LIBELLE
,
ORDRE
)
select
PRIVILEGE_ID_SEQ
.
nextval
,
cat
.
id
,
'tbl'
,
'Tableau de bord principal'
,
3
from
CATEGORIE_PRIVILEGE
cat
where
code
=
'import'
;
/
insert
into
PRIVILEGE
(
ID
,
CATEGORIE_ID
,
CODE
,
LIBELLE
,
ORDRE
)
select
PRIVILEGE_ID_SEQ
.
nextval
,
cat
.
id
,
'vues-procedures'
,
'Mise à jour des vues différentielles et des procédures de mise à jour'
,
4
from
CATEGORIE_PRIVILEGE
cat
where
code
=
'import'
;
\ No newline at end of file
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