-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi there,
I'm using tags for a current project where we need to only allow owners of documents or admins to add or edit tags.
On the server side this was easy to implement as the tags package uses the standard Meteor "allow" method -- I just added the document to the callback and was then able to do my perm checking.
On the client side in the templates this seems less easy, as the tags seem to be alongside the delete and add buttons in one chunk of template. So I was thinking of modifying the template to somehow allow permission checking here too, so users do not think they can add/edit/delete when they actually cannot.
Do you have any suggestions on how to approach this? I'll submit a PR when I've got something useful. :)
Metadata
Metadata
Assignees
Labels
No labels