jamfprivileges

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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 added in v0.11.0

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 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.

Jump to

Keyboard shortcuts

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