Removing the preview link is only a band aid fix as the user can still
append &showdraft=1 to the url on the website. [also - add comment
shold be remove; and possible view comment]
I have modified farcry_core\tags\navajo\display.cfm
<!--- check permissions on the current nav node --->
<cfscript>
oAuthorisation = request.dmsec.oAuthorisation;
oAuthentication = request.dmsec.oAuthentication;
// AJM have to be logged in to see draft.
// permission edit forces a login
if (isdefined("url.showdraft") and url.showdraft)
iHasViewPermission =
oAuthorisation.checkInheritedPermission(objectid=request.navid,permissionName="Edit",lpolicyGroupIds=lpolicyGroupIds);
else
iHasViewPermission =
oAuthorisation.checkInheritedPermission(objectid=request.navid,permissionName="View",lpolicyGroupIds=lpolicyGroupIds);
</cfscript>
On Mon, 26 Jul 2004 18:48:18 +1000, Gary Menzel <[EMAIL PROTECTED]> wrote:
> > But presumably the user can still browse to the DRAFT content through
> > the presentation layer navigation?? Stil not sure of the business
> > requirement here.
>
> I have spoken to Andrew on the phone today regarding this. Here (as I
> see it) is his requirement:
>
> There are multiple contributor groups (lets say Group A and Group B to
> keep it simple).
>
> Group A contributes to one branch of the tree.
>
> Group B contributes to a separate branch of the tree.
>
> When items from Group A's tree are in DRAFT only Group A people should
> be able to see them - and vice versa.
>
> That is: DRAFT content is only visible by those who have permission to
> see it and those permissions are not related to any public VIEW
> permissions (because, ultimately, the content is viewable by anyone).
>
> When the content from either groups tree is APPROVED it is visible to everyone.
>
> This is not an unreasonable requirement. In a Public Service
> environment this would be mandatory. You would not want people from
> one group linking to content in the other group until it was APPROVED.
>
> Hope this helps clarify things.
>
> Regards,
> Gary Menzel
>
>
>
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/