jamf_privileges

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSimilarPrivileges

func FindSimilarPrivileges(invalid string, validPrivileges []string) []string

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL