module Utils::PlaceOSHelpers
Overview
Helper to interact with PlaceOS API
Direct including types
Defined in:
controllers/utilities/placeos-helpers.crConstant Summary
-
PLACE_URI =
App::PLACE_URI
-
Base URL of the PlaceOS instance we are interacting with
Instance Method Summary
-
#check_access(groups : Array(String), check : Array(String))
https://docs.google.com/document/d/1OaZljpjLVueFitmFWx8xy8BT8rA2lITyPsIvSYyNNW8/edit# See the section on user-permissions
- #get_placeos_client : PlaceOS::Client
-
#get_user_calendars
Get the list of local calendars this user has access to
-
#matching_calendar_ids(allow_default = false)
ameba:disable Metrics/CyclomaticComplexity
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