Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Might be better if the save publish button shows up if the user has publish permissions for that document.
I have a functioning verion here is the change that i made (starting with line 86 I believe):
if (u.IsAdmin()){ tr.Cells.Add(tdPublish); }
Becomes:
if (u.GetPermissions(new Document(Convert.ToInt32(node["id"].InnerText)).Path).Contains("U")){ tr.Cells.Add(tdPublish); }
-Sean
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Publish permissions instead of isAdmin
Might be better if the save publish button shows up if the user has publish permissions for that document.
I have a functioning verion here is the change that i made (starting with line 86 I believe):
Becomes:
-Sean
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.