mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-23 07:11:36 +01:00
fix: ensure the role_id of role is correct (#13476)
Closes #13317 Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
76f1afbe0d
commit
83c07d6680
@ -1,3 +1,10 @@
|
||||
/*
|
||||
Fixes issue https://github.com/goharbor/harbor/issues/13317
|
||||
Ensure the role_id of maintainer is 4 and the role_id of limisted guest is 5
|
||||
*/
|
||||
UPDATE role SET role_id=4 WHERE name='maintainer' AND role_id!=4;
|
||||
UPDATE role SET role_id=5 WHERE name='limitedGuest' AND role_id!=5;
|
||||
|
||||
ALTER TABLE schedule ADD COLUMN IF NOT EXISTS cron_type varchar(64);
|
||||
|
||||
DO $$
|
||||
|
Loading…
Reference in New Issue
Block a user