- added lock file
- update dev dependencies
- allow the user value to be typed
- reexport types
- internal changes
- breaking: The concept of
Subject
has been renamedVerbObject
, because that is actually what it is. The subject is always the user. If you are using the TypeScript typesSubject*
you need to useVerbObject
instead - build: move types into index.ts to avoid special handling afterwards
- refactor: rewrite in TypeScript
- breaking: GlobalRule is available through Acl.GlobalRule. Before it was
exported separately. This only affects you if you explicitly use
GlobalRule
. If you've been using non-strict mode (default) you'll have had no need for that.
0.7.5 (2019-11-01)
0.7.4 (2019-10-30)
0.7.3 (2019-08-13)
0.7.2 (2019-08-12)
- Change test values to avoid false result (1162b86)
0.7.1 (2018-08-17)
- Add beforeAll feature to policies (1c29d90)
0.7.0 (2018-05-04)
- Deal with absence truth-test function (5dda25f), closes mblarsen/vue-browser-acl#8
0.5.0 (2018-03-31)
- docs: Fix jsdoc for rule function, third param can be function (034e406)
0.4.0 (2018-03-17)
- Add reset, removeRules, removePolicy, and removeAll (d93752e)
0.3.7 (2018-02-18)
0.3.6 (2017-11-06)
0.3.5 (2017-10-22)
0.3.4 (2017-10-21)
- Default subjectMapper handles classes and instances (8b74243)
0.3.3 (2017-10-20)
- test: Corrects test name (0714b07)
- Newed up police is used instead of the constructor function (ed990b4)
- Adds register function (5e97be1)
0.3.2 (2017-10-20)
- Adds some and every functions (fe41e6b)
0.3.1 (2017-10-20)
can
check can take additional params passed to rule eval (981b3f2)
0.3.0 (2017-10-20)
0.2.0 (2017-10-20)
0.1.5 (2017-10-20)
- Fixes build (dd31329)
- Added strict mode (a234938)
0.1.4 (2017-10-19)
- test: Includes index.js explicitly otherwise package.json is used (527ff15)
0.1.3 (2017-10-19)
0.1.2 (2017-10-19)
0.1.1 (2017-10-19)
- New verb doesn't flush old ones for subject (0143d8d)