Revert "AccessControl: Implement a way to register fixed roles (#35641)" (#37397)

This reverts commit 88c11f1cc0.
This commit is contained in:
Emil Tullstedt authored and GitHub committed 2021-07-30 13:58:49 +02:00
1 parent 9494c2cd4f
commit 55efeb0c02
14 files changed
+237 -959

No files matched your search

+2 -1
View File
@@ -117,7 +117,8 @@ func (hs *HTTPServer) Init() error {
hs.macaron = hs.newMacaron()
hs.registerRoutes()
return hs.declareFixedRoles()
return nil
}
func (hs *HTTPServer) AddMiddleware(middleware macaron.Handler) {