Sha256: e2b96f3b2bdb15f0656e39de1dcf7a915b509b695e009d12d09f25b81742b39b
Contents?: true
Size: 310 Bytes
Versions: 16
Compression:
Stored size: 310 Bytes
Contents
module Mumuki::Laboratory::Controllers::Authorization def authorize_if_private! return if Organization.current.public? || from_sessions? authorize! authorization_minimum_role end def authorization_slug Organization.current.slug end def authorization_minimum_role :student end end
Version data entries
16 entries across 16 versions & 1 rubygems