Permissions on <input-many> items

9 views
Skip to first unread message

Bob Sleys

unread,
Mar 8, 2012, 4:35:43 PM3/8/12
to hobo...@googlegroups.com
It appears that all permissions are checked on the associated model and if any fail the whole tag is skipped.  I'd like to allow anyone to add a new item but only the owner to edit or remove an existing one.  But when I set the permission as such the whole tag seems to being skipped.  Not a big deal in my case but I'd though I throw it out there and see if its just a limitation at this point or perhaps if I'm doing something wrong.

Bob

Bryan Larsen

unread,
Mar 8, 2012, 9:16:33 PM3/8/12
to hobo...@googlegroups.com

It's not you, that's the way it works. input-many does not check
permissions for it's + or - buttons so it's pretty much an all or
nothing thing. What you're asking for could be built but it'd be a
substantial addition.

cheers,
Bryan

Bob Sleys

unread,
Mar 9, 2012, 9:02:25 AM3/9/12
to hobo...@googlegroups.com
Ok thanks for the update.  At least it wasn't my doing something dumb again this time.  I can live without the per item permission checking on this form. I think it might be a real nice thing to have in the future though.  Perhaps I take a look into it at a some point.

Bob
Reply all
Reply to author
Forward
0 new messages