Skip to content

Instantly share code, notes, and snippets.

@bmuller
Created November 19, 2016 16:20
authorization file for climate
class ListAuthorization {
construtor(user, list) {
this.user = user
this.list = list
}
can_create() {
return true;
}
can_update() {
return true;
}
can_read() {
return true;
}
can_delete() {
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment