mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 08:05:12 +00:00
feat: console feature api (#1480)
This commit is contained in:
@@ -95,10 +95,6 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
public addGrant(): void {
|
||||
switch (this.context) {
|
||||
case UserGrantContext.OWNED_PROJECT:
|
||||
console.log('owned', this.userId,
|
||||
this.rolesList,
|
||||
this.projectId,
|
||||
this.grantId);
|
||||
this.userService.addUserGrant(
|
||||
this.userId,
|
||||
this.rolesList,
|
||||
@@ -111,11 +107,6 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
});
|
||||
break;
|
||||
case UserGrantContext.GRANTED_PROJECT:
|
||||
|
||||
console.log('granted', this.userId,
|
||||
this.rolesList,
|
||||
this.projectId,
|
||||
this.grantId);
|
||||
this.userService.addUserGrant(
|
||||
this.userId,
|
||||
this.rolesList,
|
||||
@@ -135,11 +126,6 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
grantId = (this.project as GrantedProject.AsObject).grantId;
|
||||
}
|
||||
|
||||
console.log(this.userId,
|
||||
this.rolesList,
|
||||
this.projectId,
|
||||
grantId);
|
||||
|
||||
this.userService.addUserGrant(
|
||||
this.userId,
|
||||
this.rolesList,
|
||||
|
||||
Reference in New Issue
Block a user