Home
last modified time | relevance | path

Searched refs:PermissionManageSystem (Results 1 – 25 of 26) sorted by relevance

12

/dports/www/mattermost-server/mattermost-server-6.0.2/api4/
H A Dsystem.go565 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 Dexport.go24 c.SetPermissionError(model.PermissionManageSystem)
49 c.SetPermissionError(model.PermissionManageSystem)
64 c.SetPermissionError(model.PermissionManageSystem)
H A Dterms_of_service.go34 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
35 c.SetPermissionError(model.PermissionManageSystem)
H A Duser.go956 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 Dconfig.go337 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 Dimport.go19 c.SetPermissionError(model.PermissionManageSystem)
H A Dupload.go48 c.SetPermissionError(model.PermissionManageSystem)
122 c.SetPermissionError(model.PermissionManageSystem)
H A Dplugin.go410 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 Ddata_retention.go441 …().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 Dsaml.go264 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
265 c.SetPermissionError(model.PermissionManageSystem)
H A Dgroup.go287 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 Doauth.go42 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
104 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
H A Dbot.go297 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
298 c.SetPermissionError(model.PermissionManageSystem)
H A Dchannel.go424 …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 Dldap.go288 if !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
289 c.SetPermissionError(model.PermissionManageSystem)
H A Drole.go117 requiredPermission = model.PermissionManageSystem
H A Dteam.go438 …ms.UserId && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
439 c.SetPermissionError(model.PermissionManageSystem)
H A Dpost.go66 …teAt != 0 && !c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem) {
/dports/www/mattermost-server/mattermost-server-6.0.2/app/
H A Dauthorization_test.go27 {[]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 Dweb_conn.go693 …wBool(wc.App.RolesGrantPermission(wc.GetSession().GetUserRoles(), model.PermissionManageSystem.Id))
703 …wBool(wc.App.RolesGrantPermission(wc.GetSession().GetUserRoles(), model.PermissionManageSystem.Id))
H A Dproduct_notices.go242 isSystemAdmin := a.SessionHasPermissionTo(*c.Session(), model.PermissionManageSystem)
H A Dpermissions_migrations.go23 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 Dpermission.go337 var PermissionManageSystem *Permission var
439 PermissionManageSystem = &Permission{
2015 PermissionManageSystem,
/dports/www/mattermost-server/mattermost-server-6.0.2/model/
H A Dpermission.go337 var PermissionManageSystem *Permission var
439 PermissionManageSystem = &Permission{
2015 PermissionManageSystem,
/dports/www/mattermost-server/mattermost-server-6.0.2/web/
H A Dcontext.go110 return c.App.SessionHasPermissionTo(*c.AppContext.Session(), model.PermissionManageSystem)

12