Concept Flow - Granular permission scoping
Start Program
Request Permissions
Check Requested Permissions
Grant Allowed Permissions
Run Code with Permissions
Deny Disallowed Permissions
Handle Permission Denial
End or Retry
The program starts by requesting specific permissions. It checks which are allowed, grants those, denies others, then runs code accordingly.
