Skip to content
Commit c043473f authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

[Role Logic Move] Lift user from grant/revoke

This change modifies the following methods:

- RoleBehavior::grant[AsUser]
- RoleBehavior::revoke[AsUser]
- Role::grant[AsUser]
- Role::revoke[AsUser]
- Permissions::grant[AsUser]
- Permissions::revoke[AsUser]
- AppOpPermissions::grant[AsUser]
- AppOpPermissions::revoke[AsUser]
- AppOp::grant[AsUser]
- AppOp::revoke[AsUser]

...by making them multi-user aware. I.e., lift any references to
Process.myUserHandle() out of them into method arguments.

Bug: 302563690
Test: atest CtsRoleTestCases
Change-Id: Ib566ee05c9f1a0796a971c7006ecd99ea77115d1
parent 6a4f99ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment