You cannot configure how Role-based Security Levels are granted through User Grants or Security Level Rules.
Role-based Security Levels are granted based on the roles mapped onto the User.
Instead, you’ll need to properly set up the User Attribute Mapping for the Roles attribute.
Here’s a post for how someone else solved this using the runScript expression function inside an expression user attribute mapping: Easiest way to map AD roles to the default security levels - #2 by colethorton
You might upvote this idea linked from the above post: Active Directory Role Mapping | Voters | Inductive Automation
If your role map is simple enough, you might get away with using the case expression function instead of runScript: case | Ignition User Manual