Skip to content

adminCount setting retained after JIT role membership to protected groups expired #270

Description

@red-erik

Hello,
we noticed that the attribute is still mantaining a value of 1 after Jit Role expiration and removal from group (eg. Domain Admin).
We don't see a simple solution for that because, in some cases, it need to be maintained, while in other not.

Let me try to explain:

  1. I'm member of Domain Admins
  2. use Jit Role to be "Schema Admins"
  3. after Jit Role expiration my account is removed from Schema Admins
  4. AdminCount needs to be maintaned since I'm a domain admin

on contrary:

  1. I'm a standard user
  2. I'm added to Domain Admin with a Jit Role
  3. After expiratin, my account is removed from Domain Admins and the adminCount should be cleaned up

Do you see a possible solution doing a check before and after the Jit Role execution ?

Regards,
Red.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions