Given a TabId and a UserId, how would I determine if that user has edit rights to that page?
Actually, I was looking for something programmatic. And, thanks to good people like Daniel Valadas, the key is something like
var tabInfo = TabController.Instance.GetTab(TabId, portalId); var canEdit = TabPermissionController.CanManagePage(tabInfo);
for the logged in user and TabId being the page. (I haven't tried this yet, but it looks about right.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.