Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a permissable interface on models #120

Merged
merged 1 commit into from
Jun 9, 2013

Conversation

jgable
Copy link
Contributor

@jgable jgable commented Jun 8, 2013

Added checks to the canThis process for a permissable() function
that would allow Models to override the permissions process.

Added checks to the canThis process for a `permissable()` function
that would allow Models to override the permissions process.
var permObjId;
var hasPermission;

// Allow for a target model to implement a "Permissable" interface

This comment was marked as abuse.

ErisDS added a commit that referenced this pull request Jun 9, 2013
Implement a permissable interface on models
@ErisDS ErisDS merged commit d3ac1c7 into TryGhost:master Jun 9, 2013
morficus pushed a commit to morficus/Ghost that referenced this pull request Sep 4, 2014
Implement a permissable interface on models
daniellockyer pushed a commit that referenced this pull request Jul 20, 2022
refs #11539

- Method needed to allow linking existing Stripe customers and subscriptions with members
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants