Categories: None [Edit]
role_plays
RolePlays turns a policy into one readable class per resource, built and asked explicitly the way Pundit and Action Policy policies are, with its rules declared rather than defined method by method as in CanCanCan: every role declares the actions it may take, the attributes it may submit and the scopes it may read, all resolved with a shared :any fallback. The policy is told the role name rather than a user, so the same rules answer for a request, a background job or a spec.
Total
Ranking: 184,470 of 198,274
Downloads: 1,886
Daily
Ranking: 114,303 of 198,225
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 882 | 62,748,261 | dry-struct |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | Aliexandr_Andrade |