Starcounter/Starcounter.Authorization

Static method of create in PermissionSelectionPartial

Closed this issue · 1 comments

In public class we have
public static PermissionSelectionPartial Create<TPermission>(TPermission permission)

I think it's completely unnecessary and makes all users confused about using it. So what is the best way to create that view: call Create or create a new item and call init? What if I would like something mine into create I need to create a pre-create method in my project. Or if init changes I need also to change Create.

I think that method should be removed from that class, also never see in SC project to use static method creating new view.

PermissionSelectionPartial has been removed