| Author |
Message |
Jan Rösner
Guest
|
Posted:
Thu Oct 06, 2005 12:51 pm Post subject:
website template or site definition (CAML) with predefined p |
|
|
Hi All!
The killer criterion for SharePoint Portal in my current project is:
Creating websites based on site-definitions (CAML) that already have
predefined permissions / security settings!
My main aim is to develop a website-template or a site-definition which
contains different document-libraries that are only readable for different
corresponding active-directory-groups - and not for any other users.
Unfortunately website-templates only represent the structure of a website
and do not contain the permissions / security settings. And with
site-definitions (CAML) I haven't either yet found a solution for this :-(
!!!The problem is: after each creation of a new website you manually need to
set and adjust all permissions / security settings for each document
library. --> Can you give me a hint how to solve this problem with
site-definitions (CAML)?
I'd be really pleased if you could give me a hint if this would be possible
with CAML or not!
Can you give me a hint if it would be possible at all to solve this problem?
I'll appreciate hints of any kind!
Thank you very much in advance and best regards from Germany, Jan Roesner |
|
| Back to top |
|
 |
Heather Solomon
Guest
|
Posted:
Thu Oct 06, 2005 12:51 pm Post subject:
RE: website template or site definition (CAML) with predefin |
|
|
I have yet to see a template or definition carry over or define permissions,
I would be interested to see if anyone knows how to do this, as we face the
same issue.
Now, if it is something you want to add or subtract across all site groups,
you can do that on the "Manage User Rights for Virtual Server" page in portal
central admin. If you are removing a permission, doing it this way will even
remove the permission from the Administrator site group.
--
Heather Solomon
http://www.heathersolomon.com/blog
"Jan Rösner" wrote:
| Quote: | Hi All!
The killer criterion for SharePoint Portal in my current project is:
Creating websites based on site-definitions (CAML) that already have
predefined permissions / security settings!
My main aim is to develop a website-template or a site-definition which
contains different document-libraries that are only readable for different
corresponding active-directory-groups - and not for any other users.
Unfortunately website-templates only represent the structure of a website
and do not contain the permissions / security settings. And with
site-definitions (CAML) I haven't either yet found a solution for this :-(
!!!The problem is: after each creation of a new website you manually need to
set and adjust all permissions / security settings for each document
library. --> Can you give me a hint how to solve this problem with
site-definitions (CAML)?
I'd be really pleased if you could give me a hint if this would be possible
with CAML or not!
Can you give me a hint if it would be possible at all to solve this problem?
I'll appreciate hints of any kind!
Thank you very much in advance and best regards from Germany, Jan Roesner
|
|
|
| Back to top |
|
 |
Olaf Koestner
Guest
|
Posted:
Thu Oct 06, 2005 4:51 pm Post subject:
Re: website template or site definition (CAML) with predefin |
|
|
Hi,
only an idea from me: When developing you site
definition you can run any .NET code by using
the ExecutURL-Element (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tscamlexecuteurl_SV01113237.asp)
for more details to this element.
With you .NET code you can use the Sharepoint-API
and so you are abel to do all security settings
via the .NET code and the Sharepoint-API.
Maybe someone can think about this idea and tell
me/us if doing it this way will work.
Bye,
Olaf |
|
| Back to top |
|
 |
bsimser
Joined: 22 Jul 2005
Posts: 175
|
Posted:
Thu Oct 06, 2005 4:51 pm Post subject:
Re: website template or site definition (CAML) with predefin |
|
|
Please see my answer in .portalserver
In the future please don't post two identical messages in two ngs. Cross
posting is okay so the answer will get put into both but having them
separate just makes things confusing.
--
Bil Simser
SharePoint MVP, BSc., MCSD
Calgary, Alberta
http://weblogs.asp.net/bsimser
"Jan Rösner" <janroesner@gmx.net> wrote in message
news:ey519gmyFHA.1856@TK2MSFTNGP12.phx.gbl:
| Quote: | Hi All!
The killer criterion for SharePoint Portal in my current project is:
Creating websites based on site-definitions (CAML) that already have
predefined permissions / security settings!
My main aim is to develop a website-template or a site-definition which
contains different document-libraries that are only readable for
different
corresponding active-directory-groups - and not for any other users.
Unfortunately website-templates only represent the structure of a
website
and do not contain the permissions / security settings. And with
site-definitions (CAML) I haven't either yet found a solution for this
:-(
!!!The problem is: after each creation of a new website you manually
need to
set and adjust all permissions / security settings for each document
library. --> Can you give me a hint how to solve this problem with
site-definitions (CAML)?
I'd be really pleased if you could give me a hint if this would be
possible
with CAML or not!
Can you give me a hint if it would be possible at all to solve this
problem?
I'll appreciate hints of any kind!
Thank you very much in advance and best regards from Germany, Jan
Roesner |
|
|
| Back to top |
|
 |
Jan Rösner
Guest
|
Posted:
Mon Oct 10, 2005 4:51 pm Post subject:
Re: website template or site definition (CAML) with predefin |
|
|
hi all,
thanks for your suggestions!
Instead of programming .NET-code I will now use the stsadm backup and
restore process to fully restore a site collection and all security
settings.
I will "stsadm -o backup" my template site, then restore it (stsadm -o
restore...) to the new site location.
Cheers, jr
"Olaf Koestner" <something@somewhere.com> schrieb im Newsbeitrag
news:OFD3oonyFHA.2132@TK2MSFTNGP15.phx.gbl...
|
|
| Back to top |
|
 |
eotero@twoconnect.com
Guest
|
Posted:
Sat Oct 22, 2005 4:50 pm Post subject:
Re: website template or site definition (CAML) with predefin |
|
|
We have developed a C# application that copy's any site or subsite and puts
it to any new site you create and keeps all permissions on the site, document
library, list, etc..
"Bil Simser [MVP]" wrote:
| Quote: | Please see my answer in .portalserver
In the future please don't post two identical messages in two ngs. Cross
posting is okay so the answer will get put into both but having them
separate just makes things confusing.
--
Bil Simser
SharePoint MVP, BSc., MCSD
Calgary, Alberta
http://weblogs.asp.net/bsimser
"Jan Rösner" <janroesner@gmx.net> wrote in message
news:ey519gmyFHA.1856@TK2MSFTNGP12.phx.gbl:
Hi All!
The killer criterion for SharePoint Portal in my current project is:
Creating websites based on site-definitions (CAML) that already have
predefined permissions / security settings!
My main aim is to develop a website-template or a site-definition which
contains different document-libraries that are only readable for
different
corresponding active-directory-groups - and not for any other users.
Unfortunately website-templates only represent the structure of a
website
and do not contain the permissions / security settings. And with
site-definitions (CAML) I haven't either yet found a solution for this
:-(
!!!The problem is: after each creation of a new website you manually
need to
set and adjust all permissions / security settings for each document
library. --> Can you give me a hint how to solve this problem with
site-definitions (CAML)?
I'd be really pleased if you could give me a hint if this would be
possible
with CAML or not!
Can you give me a hint if it would be possible at all to solve this
problem?
I'll appreciate hints of any kind!
Thank you very much in advance and best regards from Germany, Jan
Roesner
|
|
|
| Back to top |
|
 |
|
|
|
|