|
|
|
@ -27,8 +27,9 @@ type Actor interface {
|
|
|
|
// a connected LocalAPI client. Otherwise, it returns a zero value and false.
|
|
|
|
// a connected LocalAPI client. Otherwise, it returns a zero value and false.
|
|
|
|
ClientID() (_ ClientID, ok bool)
|
|
|
|
ClientID() (_ ClientID, ok bool)
|
|
|
|
|
|
|
|
|
|
|
|
// CheckProfileAccess checks whether the actor has the requested access rights
|
|
|
|
// CheckProfileAccess checks whether the actor has the necessary access rights
|
|
|
|
// to the specified Tailscale profile. It returns an error if the access is denied.
|
|
|
|
// to perform a given action on the specified Tailscale profile.
|
|
|
|
|
|
|
|
// It returns an error if access is denied.
|
|
|
|
CheckProfileAccess(profile ipn.LoginProfileView, requestedAccess ProfileAccess) error
|
|
|
|
CheckProfileAccess(profile ipn.LoginProfileView, requestedAccess ProfileAccess) error
|
|
|
|
|
|
|
|
|
|
|
|
// IsLocalSystem reports whether the actor is the Windows' Local System account.
|
|
|
|
// IsLocalSystem reports whether the actor is the Windows' Local System account.
|
|
|
|
|