Remove unused `IS_OWNER` constant (#1823)

## Changes

Leftover from #1386.

## Tests

All tests pass (indicating it really wasn't used).
This commit is contained in:
Pieter Noordhuis 2024-10-10 15:43:21 +02:00 committed by GitHub
parent 3270afaff4
commit b9085de533
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ import (
const CAN_MANAGE = "CAN_MANAGE" const CAN_MANAGE = "CAN_MANAGE"
const CAN_VIEW = "CAN_VIEW" const CAN_VIEW = "CAN_VIEW"
const CAN_RUN = "CAN_RUN" const CAN_RUN = "CAN_RUN"
const IS_OWNER = "IS_OWNER"
var allowedLevels = []string{CAN_MANAGE, CAN_VIEW, CAN_RUN} var allowedLevels = []string{CAN_MANAGE, CAN_VIEW, CAN_RUN}
var levelsMap = map[string](map[string]string){ var levelsMap = map[string](map[string]string){