mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 09:30:09 +00:00
feat(rbac): updated role controller to check permissions and batch v2 selectively permission check
This commit is contained in:
@@ -451,6 +451,7 @@ export const DashboardPage = () => {
|
||||
await onSecretRollback();
|
||||
return;
|
||||
}
|
||||
console.log(userSec);
|
||||
// just closing this if save is triggered from drawer
|
||||
handlePopUpClose("secretDetails");
|
||||
// encrypt and format the secrets to batch api format
|
||||
@@ -466,6 +467,7 @@ export const DashboardPage = () => {
|
||||
reset();
|
||||
return;
|
||||
}
|
||||
console.log(batchedSecret);
|
||||
try {
|
||||
await batchSecretOp({
|
||||
requests: batchedSecret,
|
||||
|
||||
@@ -304,6 +304,10 @@ export const SecretInputRow = memo(
|
||||
(isOverridden ? isAddOnly : shouldBeBlockedInAddOnly)
|
||||
}
|
||||
{...field}
|
||||
onChange={(val) => {
|
||||
console.log(val);
|
||||
field.onChange(val);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user