nova-toggle icon indicating copy to clipboard operation
nova-toggle copied to clipboard

editableIndex even if policy returns false for update

Open omarmatijas opened this issue 3 years ago • 2 comments

omarmatijas avatar Apr 16 '21 03:04 omarmatijas

I'm using this package on a index page that can be accesed with different roles. If user has no permission for editing this resource (by update policy), toogle is still working.

omarmatijas avatar Apr 16 '21 03:04 omarmatijas

OK - sounds like a bug. Thanks for posting this issue.

I am currently working on the new version for the latest upcoming Nova version (v4) which will use Vue 3; and I will be implementing Headless UI's toggle. https://headlessui.dev/vue/switch

davidpiesse avatar Apr 16 '21 07:04 davidpiesse