deploymenttheory / terraform-provider-jamfpro

Jamf Pro Terraform Provider/Plugin written with the TF Provider SDK v2. Written in go
Mozilla Public License 2.0
22 stars 8 forks source link

Issue: Casper Admin Privileges #292

Open thejoeker12 opened 1 week ago

thejoeker12 commented 1 week ago

As it stands there is validation which forces you to supply casper_admin_privileges when certain permissions are set.

When making accounts, you get looping plans with changes to add casper_admin_privileges as they're not returned in the XML from Jamf. Example:

`<?xml version="1.0" ?>

505 TF-JL-FULLTEST-1 false micky mouse exampleEmailthing@domain.com exampleEmailthing@domain.com ******************** Enabled true Full Access Custom Create Scripts Read Scripts Update Scripts Delete Scripts Create Directory Bindings Read Directory Bindings Update Directory Bindings Delete Directory Bindings Create Printers Read Printers Update Printers Delete Printers Create Dock Items Read Dock Items Update Dock Items Delete Dock Items Create Packages Read Packages Update Packages Delete Packages Create Categories Read Categories Update Categories Delete Categories Read SSO Settings Update User-Initiated Enrollment Flush Policy Logs ` We either need to amend this logic to auto supply the casper privs or omit them from state in all cases. One to discuss.
ShocOne commented 1 week ago

These are removed in jamf from 11.6. Jamf admin is deprecated