Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/eggjs/egg-cancan
cancancan like authorization plugin for Egg.js
https://github.com/eggjs/egg-cancan
Release 1.2.0
5a21f2f20dff4b0707d3e74c69d80e032a5b8f9b authored almost 3 years ago by dead-horse <[email protected]>
5a21f2f20dff4b0707d3e74c69d80e032a5b8f9b authored almost 3 years ago by dead-horse <[email protected]>
feat: extend authorize error properties (#4)
30518602951e5e2a32f7a9667c25e8fb12d347eb authored almost 3 years ago by Yiyu He <[email protected]>
30518602951e5e2a32f7a9667c25e8fb12d347eb authored almost 3 years ago by Yiyu He <[email protected]>
Release 1.1.0
f3a613a83cbb259518ab3d3a11f4893f29ca1816 authored over 4 years ago by dead-horse <[email protected]>
f3a613a83cbb259518ab3d3a11f4893f29ca1816 authored over 4 years ago by dead-horse <[email protected]>
feat: log accept more infos (#3)
30365d79a61b77ccf59c7eec545b5b2de421d634 authored over 4 years ago by Yiyu He <[email protected]>
30365d79a61b77ccf59c7eec545b5b2de421d634 authored over 4 years ago by Yiyu He <[email protected]>
Release 1.0.0
e71e7c06aaff0ffa1e203dd8dd27fc3bef3c6cc6 authored over 4 years ago by dead-horse <[email protected]>
e71e7c06aaff0ffa1e203dd8dd27fc3bef3c6cc6 authored over 4 years ago by dead-horse <[email protected]>
reactor: rewrite base ability
- move abilities / authorize to BaseAbility
- action must provide
- return false if object is ...
Release 0.6.0
ba35f9f016fc9f7e98a1918a19a66ab20f959139 authored over 6 years ago by Jason Lee <[email protected]>
ba35f9f016fc9f7e98a1918a19a66ab20f959139 authored over 6 years ago by Jason Lee <[email protected]>
Add cancan.cache config, to enable/disable cache, default: false.
Public for allow to override it.
Add guides for Ability Cache.
Release 0.5.0
7949051573f0811087bf60f38bd63253c2d1a039 authored over 6 years ago by Jason Lee <[email protected]>
7949051573f0811087bf60f38bd63253c2d1a039 authored over 6 years ago by Jason Lee <[email protected]>
Cache Ability check result by same arguments in same Context
87eb542578ff29f3b6fd14e2ef7a94312ea9f1f6 authored over 6 years ago by Jason Lee <[email protected]>
87eb542578ff29f3b6fd14e2ef7a94312ea9f1f6 authored over 6 years ago by Jason Lee <[email protected]>
Ignore yarn.lock
8c6b9e360cef1783900f2290cd1613306ab83b59 authored over 6 years ago by Jason Lee <[email protected]>
8c6b9e360cef1783900f2290cd1613306ab83b59 authored over 6 years ago by Jason Lee <[email protected]>
Release 0.4.3
32425353bf4eea9254dd75c418bbfc91727717b7 authored over 6 years ago by Jason Lee <[email protected]>
32425353bf4eea9254dd75c418bbfc91727717b7 authored over 6 years ago by Jason Lee <[email protected]>
Fix CancanAccessDenied -> CanCanAccessDenied
25ed437b1890cb4bd0e302e38c861be4a5efec60 authored over 6 years ago by Jason Lee <[email protected]>
25ed437b1890cb4bd0e302e38c861be4a5efec60 authored over 6 years ago by Jason Lee <[email protected]>
Merge branch 'master' of github.com:eggjs/egg-cancan
163e7d4f95c351009bcd3c3a5504de1a0c7c06d3 authored over 6 years ago by Jason Lee <[email protected]>
163e7d4f95c351009bcd3c3a5504de1a0c7c06d3 authored over 6 years ago by Jason Lee <[email protected]>
Release 0.4.2
074f894b7698c0213740344391e3b131c9b94afd authored over 6 years ago by Jason Lee <[email protected]>
074f894b7698c0213740344391e3b131c9b94afd authored over 6 years ago by Jason Lee <[email protected]>
Fix ctx.authorize give a bad options to can method
c7b2586783a6e5d7ce2ae775ad791103eede87a5 authored over 6 years ago by Jason Lee <[email protected]>
c7b2586783a6e5d7ce2ae775ad791103eede87a5 authored over 6 years ago by Jason Lee <[email protected]>
Update README.md
2f6b9dcad6a3631dc0ea3ac9dbdc38cd8fefc381 authored over 6 years ago by Jason Lee <[email protected]>
2f6b9dcad6a3631dc0ea3ac9dbdc38cd8fefc381 authored over 6 years ago by Jason Lee <[email protected]>
Release 0.4.1
8bf49ac1f9850fc5b89a45968308f89fdeccdf89 authored over 6 years ago by Jason Lee <[email protected]>
8bf49ac1f9850fc5b89a45968308f89fdeccdf89 authored over 6 years ago by Jason Lee <[email protected]>
Fix BaseAbility constructor ability.user default change to null
7d206fc05d879de2a7be586925e007e40233e1bf authored over 6 years ago by Jason Lee <[email protected]>
7d206fc05d879de2a7be586925e007e40233e1bf authored over 6 years ago by Jason Lee <[email protected]>
Release 0.4.0
ad65c5403bfe630ca0b0af6a037600c5f10ea8f0 authored over 6 years ago by Jason Lee <[email protected]>
ad65c5403bfe630ca0b0af6a037600c5f10ea8f0 authored over 6 years ago by Jason Lee <[email protected]>
Change Ability model API, `can` -> `rules` for define Abilities.
```js
// before
class Ability extends BaseAbility {
async can(action, obj, options) {}
}
// a...
2a1695243bbd58de346141935f407f60428ee95a authored over 6 years ago by Jason Lee <[email protected]>
Fix History.md
f244101c7ae4d0b6bffb5b794a7d8e968854c2f9 authored over 6 years ago by Jason Lee <[email protected]>
f244101c7ae4d0b6bffb5b794a7d8e968854c2f9 authored over 6 years ago by Jason Lee <[email protected]>
Release 0.3.0
c8bbd4200b518a01901ddc5780993ccbf8b28705 authored over 6 years ago by Jason Lee <[email protected]>
c8bbd4200b518a01901ddc5780993ccbf8b28705 authored over 6 years ago by Jason Lee <[email protected]>
Change arguments of can method in Ability, `can(action, obj, options = {})` same as `ctx.can`
4b516f25fae55def2f8beeeff740dccf2f618c57 authored over 6 years ago by Jason Lee <[email protected]>
4b516f25fae55def2f8beeeff740dccf2f618c57 authored over 6 years ago by Jason Lee <[email protected]>
Add Ability testing guide
7de07debce6453f3a96976f0ae708dbd3c7f86f3 authored over 6 years ago by Jason Lee <[email protected]>
7de07debce6453f3a96976f0ae708dbd3c7f86f3 authored over 6 years ago by Jason Lee <[email protected]>
Fix npm links
e607693be559271ec74a51aa56ccb54c0ac6efcc authored over 6 years ago by Jason Lee <[email protected]>
e607693be559271ec74a51aa56ccb54c0ac6efcc authored over 6 years ago by Jason Lee <[email protected]>
version 0.2.0
cd1225f97affb7836a42f75f3094192e33a94c73 authored over 6 years ago by Jason Lee <[email protected]>
cd1225f97affb7836a42f75f3094192e33a94c73 authored over 6 years ago by Jason Lee <[email protected]>
Release 0.2.0
80755346f8b2b7fba4161a761637abb1add162d6 authored over 6 years ago by Jason Lee <[email protected]>
80755346f8b2b7fba4161a761637abb1add162d6 authored over 6 years ago by Jason Lee <[email protected]>
Throw error when ctx.can method can't get type value
bc78a9370f22950ae2273d44d33cf584834347d4 authored over 6 years ago by Jason Lee <[email protected]>
bc78a9370f22950ae2273d44d33cf584834347d4 authored over 6 years ago by Jason Lee <[email protected]>
Update README.md
221430c7de9748e6e3906dbfe7c54d69114c5f2a authored over 6 years ago by Jason Lee <[email protected]>
221430c7de9748e6e3906dbfe7c54d69114c5f2a authored over 6 years ago by Jason Lee <[email protected]>
Use round style badge
533f9d1cf814529aef6847e16fa80fa4da18db2e authored over 6 years ago by Jason Lee <[email protected]>
533f9d1cf814529aef6847e16fa80fa4da18db2e authored over 6 years ago by Jason Lee <[email protected]>
Update README
6151c62815a9ed4cb3dd73698df99cbf8fdafd30 authored over 6 years ago by Jason Lee <[email protected]>
6151c62815a9ed4cb3dd73698df99cbf8fdafd30 authored over 6 years ago by Jason Lee <[email protected]>
Add base feature and tutorial
58a0da92ac2db6b5e0f0dbb31812f8c2d2b6ae55 authored over 6 years ago by Jason Lee <[email protected]>
58a0da92ac2db6b5e0f0dbb31812f8c2d2b6ae55 authored over 6 years ago by Jason Lee <[email protected]>
Initial commit
4f2b8616194edb63afc10be242578b11affbd77a authored over 6 years ago by Jason Lee <[email protected]>
4f2b8616194edb63afc10be242578b11affbd77a authored over 6 years ago by Jason Lee <[email protected]>