Module: Tasker::Authorization::ResourceConstants

Included in:
ResourceRegistry
Defined in:
lib/tasker/authorization/resource_constants.rb

Overview

Constants for authorization resource names and actions.

This module provides centralized constants for all authorization resource identifiers, making the codebase more maintainable and reducing the risk of typos in resource strings.

Examples:

Using resource constants

coordinator.authorize!(RESOURCES::TASK, ACTIONS::SHOW)
ResourceRegistry.resource_exists?(RESOURCES::WORKFLOW_STEP)

Defined Under Namespace

Modules: ACTIONS, RESOURCES