awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nathanl avatar

nathanl/authorityArchived

0
View on GitHub↗
1,197 stars·68 forks·Ruby·MIT·26 views

Authority

Authority is an authorization framework for Ruby on Rails applications that manages user permissions and access control policies. It provides a system for encapsulating complex security logic into dedicated classes, separating these concerns from core business models.

The library enforces security rules by intercepting web requests at the controller level and validating actions against defined policies. It utilizes convention-based mapping to automatically associate models with their corresponding authorization classes, supporting both global checks and instance-aware validation for specific resources.

Beyond controller-level enforcement, the framework facilitates conditional interface rendering by allowing developers to check authorization status directly within view templates. It includes mechanisms for centralized exception handling, enabling consistent logging and custom error responses when unauthorized access attempts occur.

Features

  • Ruby Authorization Frameworks - Provides a dedicated authorization framework for managing permissions and access control policies within Ruby on Rails applications.
  • Access Control Frameworks - Encapsulates complex authorization logic into reusable classes to separate security concerns from business models.
  • Controller Action Integration - Automates security checks during the web request lifecycle to ensure every controller action is authorized.
  • Access Control and Authorization - Validates requested actions against defined authorization rules at both the class and instance level.
  • Identity Request Interception - Intercepts web requests at the controller level to validate user permissions before executing actions.
  • Business Logic Encapsulations - Isolates complex authorization logic into dedicated classes to separate security concerns from core business models.
  • Permission Evaluators - Supports instance-aware validation by passing context objects into policy methods for specific resource checks.
  • Error Handling Security - Intercepts unauthorized access attempts to trigger custom error responses and log security events.
  • Custom Authorization Logic - Encapsulates permission logic into dedicated classes that map to application models to handle access decisions.
  • Role-Based Access Control - Implements granular permission logic to restrict access to features and data based on user roles.
  • Backend Security Middleware - Enforces access rules and validates user actions directly within the controller and view layers of web applications.
  • Unauthorized Access Exceptions - Provides a global mechanism to catch unauthorized access attempts and trigger consistent error responses and security logging.
  • Web Application Security - Validates user actions against defined security rules to prevent unauthorized access to protected resources.
  • Conditional Rendering Directives - Allows developers to check authorization status directly within view templates to conditionally render interface elements.
  • Convention-Based Mappings - Automatically associates models with their corresponding authorization classes using convention-based naming patterns.

Star history

Star history chart for nathanl/authorityStar history chart for nathanl/authority

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Authority

Hand-picked collections where Authority appears.
  • Attribute-Based Access Control Libraries
  • Role-Based Access Control Libraries

Projects sharing features with Authority

These projects share indexed features with Authority. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • ryanb/cancanryanb avatar

    ryanb/cancan

    6,212View on GitHub↗

    CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining user permissions. It functions as a role-based access control system that decouples security logic from controllers by centralizing all ability definitions in a single location. The library distinguishes itself by translating permission rules into database-driven filters. This allows the system to retrieve only the specific records a user is permitted to see based on attribute conditions and defined scopes, rather than verifying permissions after data has been loaded. The fram

    Ruby
    View on GitHub↗6,212
  • symfony/security-httpsymfony avatar

    symfony/security-http

    1,712View on GitHub↗

    This project provides a comprehensive security framework for PHP applications, designed to manage the entire lifecycle of user authentication and authorization. It functions as a middleware layer that intercepts incoming HTTP requests to enforce security policies, resolve user identities, and maintain persistent sessions across web interactions. The framework distinguishes itself through a modular, event-driven architecture that integrates directly into the application lifecycle. It supports diverse authentication methods, including standard form-based logins, API bearer tokens, and federated

    PHPcomponentphpsymfony
    View on GitHub↗1,712
  • getgrav/gravgetgrav avatar

    getgrav/grav

    15,395View on GitHub↗

    Grav is a flat-file content management system that eliminates the need for a traditional database by storing site content and configuration in human-readable Markdown and YAML files. Built as a modular PHP web framework, it uses a hierarchical page routing system where the physical directory structure directly determines the site's URL paths. The platform is distinguished by its event-driven plugin architecture and a command-line interface that prioritizes system administration, deployment, and maintenance tasks. It utilizes a blueprint-driven system to generate administrative forms from stru

    PHPcmscontentcontent-management
    View on GitHub↗15,395
  • palkan/action_policypalkan avatar

    palkan/action_policy

    1,557View on GitHub↗

    Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating security logic into dedicated policy classes. It provides a structured system for defining access rules that evaluate user actions against specific application resources, ensuring that security logic remains decoupled from the primary application code. The framework distinguishes itself through its ability to handle complex authorization requirements across diverse interfaces, including web controllers and various API formats. It supports dynamic permission evaluation by utilizing a

    Rubyauthorizationhacktoberfestrails
    View on GitHub↗1,557
Compare all 30 related projects→

Frequently asked questions

What does nathanl/authority do?

Authority is an authorization framework for Ruby on Rails applications that manages user permissions and access control policies. It provides a system for encapsulating complex security logic into dedicated classes, separating these concerns from core business models.

What are the main features of nathanl/authority?

The main features of nathanl/authority are: Ruby Authorization Frameworks, Access Control Frameworks, Controller Action Integration, Access Control and Authorization, Identity Request Interception, Business Logic Encapsulations, Permission Evaluators, Error Handling Security.

Which projects share features with nathanl/authority?

Projects with overlapping indexed features include: ryanb/cancan — CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining… symfony/security-http — This project provides a comprehensive security framework for PHP applications, designed to manage the entire lifecycle… getgrav/grav — Grav is a flat-file content management system that eliminates the need for a traditional database by storing site… palkan/action_policy — Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating… spatie/laravel-permission — This is a role-based access control system for Laravel applications that manages user permissions and roles within a… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web…