module Utils::PlaceOSHelpers

Direct including types

Defined in:

controllers/utilities/placeos-helpers.cr

Constant Summary

CALENDAR_WRITABLE = {"writer", "owner"}
PLACE_URI = App::PLACE_URI

Base URL of the PlaceOS instance we are interacting with

Instance Method Summary

Instance Method Detail

def check_access(groups : Array(String), check : Array(String)) #

https://docs.google.com/document/d/1OaZljpjLVueFitmFWx8xy8BT8rA2lITyPsIvSYyNNW8/edit# See the section on user-permissions


[View source]
def get_placeos_client : PlaceOS::Client #

[View source]
def get_user_calendars #

Get the list of local calendars this user has access to


[View source]
def matching_calendar_ids #

[View source]