Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sygal-db-image
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
open-source
docker
sygal-db-image
Commits
871c5e00
Commit
871c5e00
authored
10 months ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Démo : interdiction de lancer import et synchro
parent
3e000f9b
No related branches found
No related tags found
No related merge requests found
Pipeline
#30256
passed
10 months ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/demo/src/db/05_post_anonym.sql
+14
-0
14 additions, 0 deletions
bin/demo/src/db/05_post_anonym.sql
with
14 additions
and
0 deletions
bin/demo/src/db/05_post_anonym.sql
+
14
−
0
View file @
871c5e00
...
...
@@ -26,3 +26,17 @@ update substit_unite_rech set npd = md5(random()::varchar);
-- données inutiles
delete
from
substit_fk_replacement
;
-- interdiction de lancer import et synchro
delete
from
profil_privilege
where
privilege_id
=
(
select
p
.
id
from
privilege
p
join
categorie_privilege
cp
on
p
.
categorie_id
=
cp
.
id
and
cp
.
code
=
'unicaen-db-import'
where
p
.
code
=
'import-lancer'
);
delete
from
role_privilege
where
privilege_id
=
(
select
p
.
id
from
privilege
p
join
categorie_privilege
cp
on
p
.
categorie_id
=
cp
.
id
and
cp
.
code
=
'unicaen-db-import'
where
p
.
code
=
'import-lancer'
);
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