nginx-proxy-manager/backend/internal/entity/user/capabilities.go

41 lines
1.8 KiB
Go
Raw Normal View History

package user
const (
// CapabilityFullAdmin can do anything
CapabilityFullAdmin = "full-admin"
// CapabilityAccessListsView access lists view
CapabilityAccessListsView = "access-lists.view"
// CapabilityAccessListsManage access lists manage
CapabilityAccessListsManage = "access-lists.manage"
// CapabilityAuditLogView audit log view
CapabilityAuditLogView = "audit-log.view"
// CapabilityCertificatesView certificates view
CapabilityCertificatesView = "certificates.view"
// CapabilityCertificatesManage certificates manage
CapabilityCertificatesManage = "certificates.manage"
// CapabilityCertificateAuthoritiesView certificate authorities view
CapabilityCertificateAuthoritiesView = "certificate-authorities.view"
// CapabilityCertificateAuthoritiesManage certificate authorities manage
CapabilityCertificateAuthoritiesManage = "certificate-authorities.manage"
// CapabilityDNSProvidersView dns providers view
CapabilityDNSProvidersView = "dns-providers.view"
// CapabilityDNSProvidersManage dns providers manage
CapabilityDNSProvidersManage = "dns-providers.manage"
// CapabilityHostsView hosts view
CapabilityHostsView = "hosts.view"
// CapabilityHostsManage hosts manage
CapabilityHostsManage = "hosts.manage"
// CapabilityNginxTemplatesView nginx-templates view
CapabilityNginxTemplatesView = "nginx-templates.view"
// CapabilityNginxTemplatesManage nginx-templates manage
CapabilityNginxTemplatesManage = "nginx-templates.manage"
// CapabilitySettingsManage settings manage
CapabilitySettingsManage = "settings.manage"
// CapabilityStreamsView streams view
CapabilityStreamsView = "streams.view"
// CapabilityStreamsManage streams manage
CapabilityStreamsManage = "streams.manage"
// CapabilityUsersManage users manage
CapabilityUsersManage = "users.manage"
)