Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine which permissions an app has #2

Open
jordibruin opened this issue Mar 25, 2023 · 5 comments
Open

Determine which permissions an app has #2

jordibruin opened this issue Mar 25, 2023 · 5 comments

Comments

@jordibruin
Copy link
Owner

That way we can show it in the UI and only show the relevant permissions in the drop down

@jordibruin
Copy link
Owner Author

https://www.rainforestqa.com/blog/macos-tcc-db-deep-dive

Can maybe use the tcc.db for this?

@jordibruin
Copy link
Owner Author

@jordibruin
Copy link
Owner Author

@jordibruin
Copy link
Owner Author

@jordibruin
Copy link
Owner Author

tcc_service_list=(
"kTCCServiceAddressBook"
"kTCCServiceContactsLimited"
"kTCCServiceContactsFull"
"kTCCServiceCalendar"
"kTCCServiceReminders"
"kTCCServiceTwitter"
"kTCCServiceFacebook"
"kTCCServiceSinaWeibo"
"kTCCServiceLiverpool"
"kTCCServiceUbiquity"
"kTCCServiceTencentWeibo"
"kTCCServiceShareKit"
"kTCCServicePhotos"
"kTCCServicePhotosAdd"
"kTCCServiceMicrophone"
"kTCCServiceCamera"
"kTCCServiceWillow"
"kTCCServiceMediaLibrary"
"kTCCServiceSiri"
"kTCCServiceMotion"
"kTCCServiceSpeechRecognition"
"kTCCServiceAppleEvents"
"kTCCServiceLinkedIn"
"kTCCServiceAccessibility"
"kTCCServicePostEvent"
"kTCCServiceListenEvent"
"kTCCServiceLocation"
"kTCCServiceSystemPolicyAllFiles"
"kTCCServiceSystemPolicySysAdminFiles"
"kTCCServiceSystemPolicyDeveloperFiles"
"kTCCServiceSystemPolicyRemovableVolumes"
"kTCCServiceSystemPolicyNetworkVolumes"
"kTCCServiceSystemPolicyDesktopFolder"
"kTCCServiceSystemPolicyDownloadsFolder"
"kTCCServiceSystemPolicyDocumentsFolder"
"kTCCServiceScreenCapture"
"kTCCServiceDeveloperTool"
"kTCCServiceFileProviderPresence"
"kTCCServiceFileProviderDomain"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant