/dports/www/mattermost-server/mattermost-server-6.0.2/app/ |
H A D | authorization_test.go | 53 …assert.True(t, th.App.HasPermissionToTeam(th.BasicUser.Id, th.BasicTeam.Id, model.PermissionListTe… 55 …assert.False(t, th.App.HasPermissionToTeam(th.BasicUser.Id, th.BasicTeam.Id, model.PermissionListT… 57 …assert.True(t, th.App.HasPermissionToTeam(th.SystemAdminUser.Id, th.BasicTeam.Id, model.Permission… 59 …assert.True(t, th.App.HasPermissionToTeam(th.SystemAdminUser.Id, th.BasicTeam.Id, model.Permission… 61 …assert.True(t, th.App.HasPermissionToTeam(th.SystemAdminUser.Id, th.BasicTeam.Id, model.Permission… 63 …assert.True(t, th.App.HasPermissionToTeam(th.SystemAdminUser.Id, th.BasicTeam.Id, model.Permission…
|
H A D | authorization.go | 161 func (a *App) HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission)… func 190 return a.HasPermissionToTeam(askingUserId, channel.TeamId, permission) 204 return a.HasPermissionToTeam(askingUserId, channel.TeamId, permission) 283 …missionReadChannel) || (channel.Type == model.ChannelTypeOpen && a.HasPermissionToTeam(userID, cha…
|
H A D | plugin_api.go | 883 func (api *PluginAPI) HasPermissionToTeam(userID, teamID string, permission *model.Permission) bool… func 884 return api.app.HasPermissionToTeam(userID, teamID, permission)
|
H A D | app_iface.go | 811 HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission) bool methodSpec
|
H A D | user.go | 1998 if a.HasPermissionToTeam(userID, teamID, model.PermissionViewMembers) {
|
/dports/www/mattermost-server/mattermost-server-6.0.2/app/slashcommands/ |
H A D | command_invite_people.go | 46 if !a.HasPermissionToTeam(args.UserId, args.TeamId, model.PermissionInviteUser) { 50 if !a.HasPermissionToTeam(args.UserId, args.TeamId, model.PermissionAddUserToTeam) {
|
/dports/www/mattermost-server/mattermost-server-6.0.2/plugin/ |
H A D | api.go | 916 HasPermissionToTeam(userID, teamID string, permission *model.Permission) bool methodSpec
|
H A D | api_timer_layer_generated.go | 981 func (api *apiTimerLayer) HasPermissionToTeam(userID, teamID string, permission *model.Permission) … func 983 _returnsA := api.apiImpl.HasPermissionToTeam(userID, teamID, permission)
|
H A D | client_rpc_generated.go | 4615 func (g *apiRPCClient) HasPermissionToTeam(userID, teamID string, permission *model.Permission) boo… func 4624 func (s *apiRPCServer) HasPermissionToTeam(args *Z_HasPermissionToTeamArgs, returns *Z_HasPermissio… func 4626 HasPermissionToTeam(userID, teamID string, permission *model.Permission) bool 4628 returns.A = hook.HasPermissionToTeam(args.A, args.B, args.C)
|
/dports/www/mattermost-server/mattermost-server-6.0.2/plugin/plugintest/ |
H A D | api.go | 2353 func (_m *API) HasPermissionToTeam(userID string, teamID string, permission *model.Permission) bool… func
|
/dports/www/mattermost-server/mattermost-server-6.0.2/app/opentracing/ |
H A D | opentracing_layer.go | 10407 func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamID string, permission *m… func 10419 resultVar0 := a.app.HasPermissionToTeam(askingUserId, teamID, permission)
|