security/rubygem-cancancan 3.6.1
Simple authorization solution for Rails with all permissions stored in a single location
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- security, rubygems
- Package size
- 27.1 KiB, 101.7 KiB installed
Description
CanCanCan is an authorization library for Ruby and Ruby on Rails which restricts what resources a given user is allowed to access.
All permissions can be defined in one or multiple ability files and not duplicated across controllers, views, and database queries, keeping your permissions logic in one place for easy maintenance and testing.
It consists of two main parts:
- Authorizations library that allows you to define the rules to access different objects, and provides helpers to check for those permissions.
- Rails helpers to simplify the code in Rails Controllers by performing the loading and checking of permissions of models automatically and reduce duplicated code.
Install
As a binary package — by origin, or by package name:
pkg install security/rubygem-cancancan
pkg install rubygem-cancancan
From the ports tree:
cd /usr/ports/security/rubygem-cancancan/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-cancancan>0:security/rubygem-cancancan
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.6.1 | 3.6.1 | - | 3.6.1 | 3.6.1 |
| FreeBSD:14:quarterly | 3.6.1 | 3.6.1 | n/a | 3.6.1 | 3.6.1 |
| FreeBSD:15:latest | 3.6.1 | 3.6.1 | n/a | 3.6.1 | 3.6.1 |
| FreeBSD:15:quarterly | 3.6.1 | 3.6.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.6.1 | 3.6.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 6
All run dependencies 6
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/cancancan-3.6.1.gem | 30208 | 975c1d5cbf58d5df48a9452a7f61ae3d254608cd87570402f5925a8864c56b62 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.