Commit 8ae0f90
committed
Make admin attribute update optional
If the admin_group configuration is not declared, skip the update of
admin flags. This prevents dropping of the admin flag from users in
environments without IDP based admin roles.
Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>1 parent 470de18 commit 8ae0f90
File tree
2 files changed
+6
-1
lines changed- app/models
- lib/redmine_openid_connect
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments