Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
open-source
sygal
Commits
cbb688b2
Commit
cbb688b2
authored
3 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Plain Diff
Merge branch 'release_2.2.2'
parents
b09c8358
2d099fc6
No related branches found
Branches containing commit
Tags
2.2.2
Tags containing commit
No related merge requests found
Pipeline
#10124
failed
3 years ago
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/release-notes/v2.2.1.md
+2
-2
2 additions, 2 deletions
doc/release-notes/v2.2.1.md
doc/release-notes/v2.2.2.md
+87
-0
87 additions, 0 deletions
doc/release-notes/v2.2.2.md
with
89 additions
and
2 deletions
doc/release-notes/v2.2.1.md
+
2
−
2
View file @
cbb688b2
# Version 2.2.
0
# Version 2.2.
1
## 1. Sur le serveur d'application
...
...
@@ -6,7 +6,7 @@
pour installer la nouvelle version :
```
bash
git fetch
--tags
&&
git checkout
--force
2.2.
0
&&
bash ./install.sh
git fetch
--tags
&&
git checkout
--force
2.2.
1
&&
bash ./install.sh
```
-
Selon le moteur PHP que vous avez installé, rechargez le service, exemple :
...
...
This diff is collapsed.
Click to expand it.
doc/release-notes/v2.2.2.md
0 → 100644
+
87
−
0
View file @
cbb688b2
# Version 2.2.2
## 1. Sur le serveur d'application
-
Placez-vous dans le répertoire de l'application puis lancez la commande suivante
pour installer la nouvelle version :
```
bash
git fetch
--tags
&&
git checkout
--force
2.2.2
&&
bash ./install.sh
```
-
Selon le moteur PHP que vous avez installé, rechargez le service, exemple :
-
php7.3-fpm :
`service php7.3-fpm reload`
-
apache2-mod-php7.3 :
`service apache2 reload`
## 2. Dans la base de données
```
sql
create
table
USER_TOKEN
(
ID
NUMBER
not
null
constraint
USER_TOKEN_PK
primary
key
,
USER_ID
NUMBER
not
null
,
TOKEN
VARCHAR2
(
256
)
not
null
,
ACTION
VARCHAR2
(
256
),
ACTIONS_COUNT
NUMBER
default
0
not
null
,
ACTIONS_MAX_COUNT
NUMBER
default
0
not
null
,
CREATED_ON
DATE
default
sysdate
not
null
,
EXPIRED_ON
DATE
not
null
,
LAST_USED_ON
DATE
)
;
comment
on
table
USER_TOKEN
is
'Jetons d
''
authentification utilisateur'
;
comment
on
column
USER_TOKEN
.
USER_ID
is
'Identifiant unique de l
''
utilisateur'
;
comment
on
column
USER_TOKEN
.
TOKEN
is
'Le jeton !'
;
comment
on
column
USER_TOKEN
.
ACTION
is
'Spécification de l
''
action précise autorisée, le cas échéant'
;
comment
on
column
USER_TOKEN
.
ACTIONS_COUNT
is
'Nombre d
''
utilisation du jeton'
;
comment
on
column
USER_TOKEN
.
ACTIONS_MAX_COUNT
is
'Nombre maximum d
''
utilisations du jeton autorisée (0 = pas de limite)'
;
comment
on
column
USER_TOKEN
.
CREATED_ON
is
'Date de création du jeton'
;
comment
on
column
USER_TOKEN
.
EXPIRED_ON
is
'Date d
''
expiration du jeton'
;
comment
on
column
USER_TOKEN
.
LAST_USED_ON
is
'Date de dernière utilisation du jeton'
;
create
unique
index
USER_TOKEN_USER_ACTION_UN
on
USER_TOKEN
(
USER_ID
,
ACTION
)
;
create
sequence
user_token_id_seq
;
insert
into
CATEGORIE_PRIVILEGE
(
ID
,
CODE
,
LIBELLE
,
ORDRE
)
values
(
CATEGORIE_PRIVILEGE_ID_SEQ
.
nextval
,
'unicaen-auth-token'
,
'Jetons utilisateur'
,
10
)
;
insert
into
PRIVILEGE
(
ID
,
CATEGORIE_ID
,
CODE
,
LIBELLE
,
ORDRE
)
with
d
(
ordre
,
code
,
lib
)
as
(
select
10
,
'lister'
,
'Lister les jetons utilisateur'
from
dual
union
select
20
,
'consulter'
,
'Consulter un jeton utilisateur'
from
dual
union
select
30
,
'creer'
,
'Créer un jeton utilisateur'
from
dual
union
select
40
,
'modifier'
,
'Modifier un jeton utilisateur'
from
dual
union
select
50
,
'prolonger'
,
'Prolonger un jeton utilisateur'
from
dual
union
select
60
,
'supprimer'
,
'Supprimer un jeton utilisateur'
from
dual
union
select
70
,
'tester'
,
'Tester un jeton utilisateur'
from
dual
)
select
privilege_id_seq
.
nextval
,
cp
.
id
,
d
.
code
,
d
.
lib
,
d
.
ordre
from
d
join
CATEGORIE_PRIVILEGE
cp
on
cp
.
CODE
=
'unicaen-auth-token'
;
----->
-----> Pensez ensuite à accorder les privilèges dans Administration > Droits d'accès > Gestion des profils.
----->
```
## 3. Dans l'application SyGAL
Pensez maintenant à vous rendre dans SyGAL sur la page "Droits d'accès > Profils" pour accorder les nouveaux
privilèges de la catégorie "Rapports d'activité" aux profils concernés : Doctorant, MDD, ED, etc.
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