Skip to content

Conversation

@adku
Copy link
Contributor

@adku adku commented Aug 30, 2019

Implemented feature request: #3

Even more there is possibility to import signed profiles.

Right now I tested it only with profiles generated via PPC-Utility, not sure if there is support for TCC profiles from other apps.

@watkyn
Copy link
Contributor

watkyn commented Feb 5, 2020

@adku I tried importing a profile from Rich Trouton's GitHub account where he has some various ones for specific workflows:
https://github.com/rtrouton/privacy_preferences_control_profiles/blob/master/Privacy%20Settings%20Whitelist%20-%20Microsoft/Microsoft%20Outlook/Unsigned/Microsoft_Outlook_and_Skype_for_Business_Notifications_v1.mobileconfig
This one for instance, gives an error about "Invalid TCC Profile. Please make sure that required keys are inside profile: payloadScope".

I think we'll want to make sure most of the ones people share like this would work to import.

@watkyn
Copy link
Contributor

watkyn commented Feb 5, 2020

Looks like this line just needs a capital "P" and it should fix the issue:
case scope = "payloadScope"
Line 106 TCCProfile.swift.

Using some of the examples from https://github.com/rtrouton/privacy_preferences_control_profiles/ in the unit tests would be nice.

@adku
Copy link
Contributor Author

adku commented Feb 6, 2020

@watkyn Thanks a lot, I'll try to fix it :)

@watkyn
Copy link
Contributor

watkyn commented Feb 11, 2020

Closing this PR as we have moved it to the main jamf repo for some further tweaking. Thanks @adku for the work!

@watkyn watkyn closed this Feb 11, 2020
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

Successfully merging this pull request may close these issues.

2 participants