Is it possible to define permissions for gadgets?
We have developed a translation gadget and have a client request of limiting access to it per role. I can see permissions per page and also permissions for functions, but not for gadgets.
Any tips appriciated.
I don't think you can set access rights for gadgets anywhere in the UI, but your gadget developers can set permissions explicitly in the gadget class decoration, like this:
[Authorize(Roles = "CmsAdmins, YourCustomRole")]
public class MyGadget : SomeBaseClass
See http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-6/EPiServer-CMS-60/OnlineCenter-Developer-Documentation/ (doc is for CMS 6 but should still apply to CMS 7)
appreciate it, Arild, we'll give it a try.