nginx-proxy-manager/backend/internal/entity/user/capabilities.go
Jamie Curnow 5e5f0de0e2 - Added upstream objects
- Renamed host templates to nginx templates
- Generate upstream templates
- Better nginx error reporting when reloading
- Use tparse for golang test reporting
2023-01-04 15:53:52 +10:00

41 lines
1.8 KiB
Go

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"
)