Home Reference Source
import {SharedTeamsUtil} from 'cables-shared-api'
public class | source

SharedTeamsUtil

Extends:

cables_dev/shared/api/shared_util.js~SharedUtil → SharedTeamsUtil

Member Summary

Public Members
public get

Method Summary

Public Methods
public

getFullExtensionName(shortName: *): *

public

isMember(user: *, team: *): *

public

isOwner(user: *, team: *): *

public

isPublic(team: *): *

public

makeReadable(teams: *): *

public
public

userHasWriteAccess(user: *, team: *): *

Private Methods
private

_makeTeamReadable(team: *): *

Public Members

public get utilName: * source

Public Methods

public getFullExtensionName(shortName: *): * source

Params:

NameTypeAttributeDescription
shortName *

Return:

*

public isMember(user: *, team: *): * source

Params:

NameTypeAttributeDescription
user *
team *

Return:

*

public isOwner(user: *, team: *): * source

Params:

NameTypeAttributeDescription
user *
team *

Return:

*

public isPublic(team: *): * source

Params:

NameTypeAttributeDescription
team *

Return:

*

public makeReadable(teams: *): * source

Params:

NameTypeAttributeDescription
teams *

Return:

*

public sanitizeShortNameForNamespace(teamName: *): * source

Params:

NameTypeAttributeDescription
teamName *

Return:

*

public userHasWriteAccess(user: *, team: *): * source

Params:

NameTypeAttributeDescription
user *
team *

Return:

*

Private Methods

private _makeTeamReadable(team: *): * source

Params:

NameTypeAttributeDescription
team *

Return:

*