File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Certify.Core/Management/CertifyManager Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ private static async Task BootstrapAdminUserAndRoles(IAccessControl access)
9090 foreach ( var r in assignedRoles )
9191 {
9292 // add roles and policy assignments to store
93- await access . AddAssignedRole ( adminSp . Id , r ) ;
93+ await access . AddAssignedRole ( adminSp . Id , r , bypassIntegrityCheck : true ) ;
9494 }
9595 }
9696
@@ -109,7 +109,7 @@ private static async Task UpdateStandardRoles(IAccessControl access)
109109
110110 foreach ( var action in actions )
111111 {
112- await access . AddResourceAction ( adminSvcPrinciple , action ) ;
112+ await access . AddResourceAction ( adminSvcPrinciple , action , bypassIntegrityCheck : true ) ;
113113 }
114114
115115 // setup policies with actions
@@ -128,7 +128,7 @@ private static async Task UpdateStandardRoles(IAccessControl access)
128128 foreach ( var r in roles )
129129 {
130130 // add roles and policy assignments to store
131- await access . AddRole ( adminSvcPrinciple , r ) ;
131+ await access . AddRole ( adminSvcPrinciple , r , bypassIntegrityCheck : true ) ;
132132 }
133133 }
134134
You can’t perform that action at this time.
0 commit comments