Restrict anonymous user capabilities (#2156)
This commit is contained in:
1 parent
3521c21cd5
commit
d6362f9e5e
11 files changed
+266
-63
No files matched your search
@@ -53,6 +53,10 @@ const (
|
||||
AddHostSources Type = 42
|
||||
SetHostSources Type = 43
|
||||
RemoveHostSources Type = 44
|
||||
|
||||
// When adding new actions, be sure to update:
|
||||
//
|
||||
// * The Test_AnonRestrictions test
|
||||
)
|
||||
|
||||
var Map = map[string]Type{
|
||||
|
||||
@@ -30,6 +30,7 @@ const (
|
||||
// * The Grant.validateType function and test
|
||||
// * The perms.topLevelTypes function
|
||||
// * The scopes service collection actions for appropriate scopes
|
||||
// * The Test_AnonRestrictions test
|
||||
)
|
||||
|
||||
func (r Type) MarshalJSON() ([]byte, error) {
|
||||
|
||||
Reference in new issue
Block a user