Restricting access to template
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Restricting access to template




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Restricting access to template  
David


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-24-05 03:39 PM

Hi Stefan,

Here is the scenario...

Our site has a general template that any of our authors can access. I
created an application template based on the general template that can host
usercontrols that our development team write. This works perfectly. It
allows our dev team to create the controls on their own machine, test
however they want before transferring it to the dev server.

This allows our site to have interactivety that our developers create, as
against the static stuff that our users author.

Now, I have a slight problem. I have an item that crosses the boundary
between the two templates. I need to use the application template for some
dynamic items but also the user to be able to edit the HTML and Image
placeholders.

The application template knows which usercontrol to host, based on a custom
property.

So, here is what I need to do, but I don't know how to manage it.
I need to create 73 pages based on the application template.
The author cannot then change any of the page properties, only the content
of the placeholders.
Also, the author must not have general access to the application template
(i.e. cannot select it when creating a new page.)

How would I do this?

Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available







[ Post a follow-up to this message ]



    Re: Restricting access to template  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-24-05 03:39 PM

Hi David,

MCMS does not help you with this you would need to implement this on your
own.

E.g. implement a workflow event that prevents properties from being set.
To ensure that the template cannot be used by your authors to create new
postings you could add some logic to the Page_Load event that verifies if
the user is one of the allowed users and if the web author context mode is
AuthoringNew.
If a wrong user choosed the template and the mode is authoring new redirect
to an error page.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"David" <david.colliver.NEWS@revilloc.REMOVETHIS.com> wrote in message
news:%23RReuHJ2FHA.3568@TK2MSFTNGP15.phx.gbl...
> Hi Stefan,
>
> Here is the scenario...
>
> Our site has a general template that any of our authors can access. I
> created an application template based on the general template that can
> host usercontrols that our development team write. This works perfectly.
> It allows our dev team to create the controls on their own machine, test
> however they want before transferring it to the dev server.
>
> This allows our site to have interactivety that our developers create, as
> against the static stuff that our users author.
>
> Now, I have a slight problem. I have an item that crosses the boundary
> between the two templates. I need to use the application template for some
> dynamic items but also the user to be able to edit the HTML and Image
> placeholders.
>
> The application template knows which usercontrol to host, based on a
> custom property.
>
> So, here is what I need to do, but I don't know how to manage it.
> I need to create 73 pages based on the application template.
> The author cannot then change any of the page properties, only the content
> of the placeholders.
> Also, the author must not have general access to the application template
> (i.e. cannot select it when creating a new page.)
>
> How would I do this?
>
> Best regards,
> Dave Colliver.
> http://www.AshfieldFOCUS.com
> ~~
> http://www.FOCUSPortals.com - Local franchises available
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:20 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register