Home
last modified time | relevance | path

Searched refs:HasPermissionToTeam (Results 1 – 11 of 11) sorted by relevance

/dports/www/mattermost-server/mattermost-server-6.0.2/app/
H A Dauthorization_test.go53 …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 Dauthorization.go161 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 Dplugin_api.go883 func (api *PluginAPI) HasPermissionToTeam(userID, teamID string, permission *model.Permission) bool… func
884 return api.app.HasPermissionToTeam(userID, teamID, permission)
H A Dapp_iface.go811 HasPermissionToTeam(askingUserId string, teamID string, permission *model.Permission) bool methodSpec
H A Duser.go1998 if a.HasPermissionToTeam(userID, teamID, model.PermissionViewMembers) {
/dports/www/mattermost-server/mattermost-server-6.0.2/app/slashcommands/
H A Dcommand_invite_people.go46 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 Dapi.go916 HasPermissionToTeam(userID, teamID string, permission *model.Permission) bool methodSpec
H A Dapi_timer_layer_generated.go981 func (api *apiTimerLayer) HasPermissionToTeam(userID, teamID string, permission *model.Permission) … func
983 _returnsA := api.apiImpl.HasPermissionToTeam(userID, teamID, permission)
H A Dclient_rpc_generated.go4615 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 Dapi.go2353 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 Dopentracing_layer.go10407 func (a *OpenTracingAppLayer) HasPermissionToTeam(askingUserId string, teamID string, permission *m… func
10419 resultVar0 := a.app.HasPermissionToTeam(askingUserId, teamID, permission)