Setup-Your-Mac icon indicating copy to clipboard operation
Setup-Your-Mac copied to clipboard

Allow for custom policy arrays based off Department

Open kevinVodi opened this issue 2 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe. No problem, just an enhancement to SYM

Describe the solution you'd like After selecting a department in the Welcome screen, allow for custom policy arrays based off what department was selected.

Example: Design dept would get Adobe Creative Cloud in addition to the standard array, where as HR would get Acrobat DC, PeopleSoft, etc

Describe alternatives you've considered

Looking into the suggestions noted here: https://macadmins.slack.com/archives/C04FRRN3281/p1695644288174689?thread_ts=1695408114.558699&cid=C04FRRN3281

Additional context SYM is great! This is just an enhancement request to the stellar product that is SYM.

kevinVodi avatar Sep 25 '23 16:09 kevinVodi

This would require an additional dialog to pick a configuration as swiftDialog does not allow dynamic selection lists.

drtaru avatar Sep 25 '23 20:09 drtaru

This might be the path of less resistance. Rather than maintaining several department specific configs (Making the code huge), it might be easier to have an optional apps array as suggested below.

https://github.com/dan-snelson/Setup-Your-Mac/issues/64

GadgetGeekNI avatar Sep 26 '23 07:09 GadgetGeekNI

Just a thought as a work around rather than a change to the script. If you curl your policy JSON from a web host, could you use the department variable as part of your URL (naming the file based on the department it applies to) so that it curls the appropriate JSON per department?

astrugatch avatar Oct 15 '23 21:10 astrugatch

@kevinVodi:

After counseling with other sym-devs, I'm going to close this as "not planned."

As you mentioned in your original post, @drtaru offered one approach on Slack.

dan-snelson avatar May 29 '24 15:05 dan-snelson