This is basically a note to myself, about a few extensions i'm planning to do on row permission system. You are welcomed to comment with your ideas if any.
Define a new [NavigationPermission] attribute. If the row has this attribute, it takes precedence over [ReadPermission] attribute only for determining permission for the page and the navigation item. This [NavigationPermission] does not affect List/Retrieve services.
Yes, boss. Currently, we are managing this kind of situation by logic operator like the following
[ReadPermission("Module:SomeRow:Read|Module:SomeRow:Navigation")]
Your solution will be best.
Although lookups are useful, they are not so good for big tables, and works through sync requests by default which is obsolete, so we need a better alternative.
We are facing this kind of problem. Please save us from manually converting a sync lookup to async lookup. It will be really amazing if we have the option to declare [AsyncLookupScript] to a Row or something similar. Paging enabled lookup also an option that will perform similar as the grid.
Implemented with fa008535d0b0df476bae026ad3b66383886e0d13, see the comment in commit for a sample.
@dfaruque After applying this to your big data row, you may remove LookupScript attribute and replace LookupEditor's with ServiceLookupEditor's and should theorically work same. Of course there will be some differences as everything works async through the list service and there is no lookup script so you can't access items by their id (sync through Row.getLookup() etc)
Ah also there is now LookupEditor("Something", Async = true), or AsyncLookupEditor that you can use with ordinary lookups, loading the lookup in async mode just like service lookup editor.
Hi @volkanceylan
Is possible used this in Controller:
[Authorize(Roles="Credit Card Admins")]
Best regards
We don't use roles for permissions, Role:RoleKey might work