Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindSimilarPrivileges ¶ added in v0.11.0
FindSimilarPrivileges tries to suggest resource names similar to the supplied “invalid privilege” It uses fuzzy string matching across *all* validPrivileges from Jamf Pro and is used by Accout, AccountGroup and Api role resources to suggest similar privileges when an invalid one is detected.
func ValidateAccountPrivileges ¶ added in v0.11.0
func ValidateAccountPrivileges(client *jamfpro.Client, privileges jamfpro.AccountSubsetPrivileges) error
ValidateAccountPrivileges validates the privileges of an account against a lookup of all available privileges based upon on the first found jamf pro accout with Administrator privilege set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.