RBAC: Remove legacy ac from authorization middleware (#68898)
remove legacy AC fallback from RBAC middleware, and some unused auth logic
This commit is contained in:
@@ -98,10 +98,6 @@ type SearchTeamQueryResult struct {
|
||||
PerPage int `json:"perPage"`
|
||||
}
|
||||
|
||||
type IsAdminOfTeamsQuery struct {
|
||||
SignedInUser *user.SignedInUser
|
||||
}
|
||||
|
||||
// TeamMember model
|
||||
type TeamMember struct {
|
||||
ID int64 `xorm:"pk autoincr 'id'"`
|
||||
|
||||
Reference in New Issue
Block a user