/dports/www/mattermost-server/mattermost-server-6.0.2/api4/ |
H A D | system.go | 565 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 566 c.SetPermissionError(model.PermissionManageSystem) 594 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 595 c.SetPermissionError(model.PermissionManageSystem) 610 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 611 c.SetPermissionError(model.PermissionManageSystem) 632 c.SetPermissionError(model.PermissionManageSystem) 688 c.SetPermissionError(model.PermissionManageSystem) 716 c.SetPermissionError(model.PermissionManageSystem) 761 c.SetPermissionError(model.PermissionManageSystem) [all …]
|
H A D | export.go | 24 c.SetPermissionError(model.PermissionManageSystem) 49 c.SetPermissionError(model.PermissionManageSystem) 64 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | terms_of_service.go | 34 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 35 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | user.go | 956 c.SetPermissionError(model.PermissionManageSystem) 1140 c.SetPermissionError(model.PermissionManageSystem) 1226 c.SetPermissionError(model.PermissionManageSystem) 1307 c.SetPermissionError(model.PermissionManageSystem) 1417 c.SetPermissionError(model.PermissionManageSystem) 2029 c.SetPermissionError(model.PermissionManageSystem) 2300 c.SetPermissionError(model.PermissionManageSystem) 2332 c.SetPermissionError(model.PermissionManageSystem) 2661 c.SetPermissionError(model.PermissionManageSystem) 2694 c.SetPermissionError(model.PermissionManageSystem) [all …]
|
H A D | config.go | 337 if c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 385 return c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) 407 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 408 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | import.go | 19 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | upload.go | 48 c.SetPermissionError(model.PermissionManageSystem) 122 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | plugin.go | 410 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 411 c.SetPermissionError(model.PermissionManageSystem) 438 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 439 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | data_retention.go | 441 …().UserId && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 442 c.SetPermissionError(model.PermissionManageSystem) 469 …().UserId && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 470 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | saml.go | 264 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 265 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | group.go | 287 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 288 c.SetPermissionError(model.PermissionManageSystem) 578 …ms.UserId && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 579 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | oauth.go | 42 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 104 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
|
H A D | bot.go | 297 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 298 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | channel.go | 424 …if !allowed && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem… 425 c.SetPermissionError(model.PermissionManageSystem) 791 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 792 c.SetPermissionError(model.PermissionManageSystem) 1311 …essionHasPermissionToTeam(*c.AppContext.Session(), c.Params.TeamId, model.PermissionManageSystem) { 1312 c.SetPermissionError(model.PermissionManageSystem) 1682 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 1683 c.SetPermissionError(model.PermissionManageSystem) 1933 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 1934 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | ldap.go | 288 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 289 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | role.go | 117 requiredPermission = model.PermissionManageSystem
|
H A D | team.go | 438 …ms.UserId && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) { 439 c.SetPermissionError(model.PermissionManageSystem)
|
H A D | post.go | 66 …teAt != 0 && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
|
/dports/www/mattermost-server/mattermost-server-6.0.2/app/ |
H A D | authorization_test.go | 27 {[]string{model.SystemAdminRoleId}, model.PermissionManageSystem.Id, true}, 30 {[]string{model.ChannelUserRoleId}, model.PermissionManageSystem.Id, false}, 31 …{[]string{model.SystemAdminRoleId, model.ChannelUserRoleId}, model.PermissionManageSystem.Id, true… 32 …{[]string{model.ChannelUserRoleId, model.SystemAdminRoleId}, model.PermissionManageSystem.Id, true…
|
H A D | web_conn.go | 693 …wBool(wc.App.RolesGrantPermission(wc.GetSession().GetUserRoles(), model.PermissionManageSystem.Id)) 703 …wBool(wc.App.RolesGrantPermission(wc.GetSession().GetUserRoles(), model.PermissionManageSystem.Id))
|
H A D | product_notices.go | 242 isSystemAdmin := a.SessionHasPermissionTo(*c.Session(), model.PermissionManageSystem)
|
H A D | permissions_migrations.go | 23 PermissionManageSystem = "manage_system" const 486 On: permissionExists(PermissionManageSystem),
|
/dports/net-im/matterircd/matterircd-0.25.0/vendor/github.com/mattermost/mattermost-server/v6/model/ |
H A D | permission.go | 337 var PermissionManageSystem *Permission var 439 PermissionManageSystem = &Permission{ 2015 PermissionManageSystem,
|
/dports/www/mattermost-server/mattermost-server-6.0.2/model/ |
H A D | permission.go | 337 var PermissionManageSystem *Permission var 439 PermissionManageSystem = &Permission{ 2015 PermissionManageSystem,
|
/dports/www/mattermost-server/mattermost-server-6.0.2/web/ |
H A D | context.go | 110 return c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem)
|