Show:

Streams.Access Class

Extends Base.Streams.Access
Module: Streams

Class representing 'Access' rows in the 'Streams' database
stored primarily on publisherId's shard

Constructor

Streams.Access

(
  • fields
)

Parameters:

  • fields Object

    The fields values to initialize table row as an associative array of {column: value} pairs

Methods

addPermission

(
  • permission
)

Parameters:

addPermission

(
  • permission
)

Parameters:

getAllPermissions

() Array

Returns:

getAllPermissions

() Array

Returns:

hasPermission

(
  • permission
  • UNKNOWN
)

Parameters:

hasPermission

(
  • permission
  • UNKNOWN
)

Parameters:

removePermission

(
  • permission
  • UNKNOWN
)

Parameters:

removePermission

(
  • permission
  • UNKNOWN
)

Parameters:

setUp

()

The setUp() method is called the first time an object of this class is constructed.