Simple authorisation addon for Ember apps
Full Changelog: https://github.com/minutebase/ember-can/compare/v4.1.0...v4.2.0
Full Changelog: https://github.com/minutebase/ember-can/compare/v4.0.0...v4.1.0
Full Changelog: https://github.com/minutebase/ember-can/compare/v3.1.0...v4.0.0
get
from @ember/object
to look up propertyName
on ability
… (@MiniHeyd)get
(@esbanarango)Merged pull requests:
CanMixin
as it is removed. You can reproduce its behavior using can
service and its methods.import { CanService } from 'ember-can'
-> import CanService from 'ember-can/services/can'
import { ability } from 'ember-can'
-> import { ability } from 'ember-can/computed'
build
method of can
service is replaced by abilityFor
null
model if you want to pass only parameters to can
or cannot
methods of can
service. Eg: this.get('canService').can('post', null, { test: true })
model
passed to helpers or can
service methods, as from now on, can be anything instead of an Ember.Object instance.Implemented enhancements:
Closed issues:
ability
computed macro as a named export #70
Merged pull requests: