on WSS 3.0:
when a sub-web was created we did NOT choose the option to display a link in
the quick-launch of the parent site.
Now, we do want the link to appear in the quick launch of the parent - if we
add the url manually, the link appears for all users even if they don't have
access.

How can I re-add the sub-web so that SharePoint still does it's security
Trimming?
I see a property "isInternal" on an SPLink object, but it is read-only - and
I don't see how to programmatically create a link to the sub-web and specify
that it is internal.

Thanks

Re: re-adding a sub-web to the quicklaunch of the parent by Mike

Mike
Tue Jan 08 22:51:29 CST 2008

Ask questions on how to do things "programmatically" to the SP
Programming newsgroup (for all products) at

microsoft.public.development_and_programming (saying, as here, that you
are running WSS 3.0)

It's where the programming experts are (and many existing programming
threads)

Mike Walsh
WSS FAQ www.wssfaq.com / wss.collutions.com
no private e-mail questions please

jj_in_atlanta wrote:
> on WSS 3.0:
> when a sub-web was created we did NOT choose the option to display a link in
> the quick-launch of the parent site.
> Now, we do want the link to appear in the quick launch of the parent - if we
> add the url manually, the link appears for all users even if they don't have
> access.
>
> How can I re-add the sub-web so that SharePoint still does it's security
> Trimming?
> I see a property "isInternal" on an SPLink object, but it is read-only - and
> I don't see how to programmatically create a link to the sub-web and specify
> that it is internal.
>
> Thanks

RE: re-adding a sub-web to the quicklaunch of the parent by weilu

weilu
Wed Jan 09 00:53:42 CST 2008

------=_NextPart_0001_F6418AE3
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello JJ,

I am not sure how to grant the user for the permission.

I tested on my side. I add a domain user into the Parent Web site as Site
member and remove him from the Sub Web Site which makes him could not
access the sub site.

When I add the link which direct to Sub site into the Quick Lanch Bar in
the parent site, this user could not access the sub site as it should when
he click the link.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_F6418AE3
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hello JJ,
\par
\par I am not sure how to grant the user for the permission.
\par
\par I tested on my side. I add a domain user into the Parent Web site as Site member and remove him from the Sub Web Site which makes him could not access the sub site.
\par
\par When I add the link which direct to Sub site into the Quick Lanch Bar in the parent site, this user could not access the sub site as it should when he click the link.
\par
\par Sincerely,
\par
\par Wei Lu
\par Microsoft Online Community Support
\par
\par ==================================================
\par
\par When responding to posts, please "Reply to Group" via your newsreader so
\par that others may learn and benefit from your issue.
\par
\par ==================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
------=_NextPart_0001_F6418AE3--


Re: re-adding a sub-web to the quicklaunch of the parent by jj_in_atlanta

jj_in_atlanta
Wed Jan 09 07:03:03 CST 2008

Mike:
If there is a way to do this via the Web Interface please let me know. I
just didn't see one and figured I'd need to do it with code. I'll post to
the programming newsgroup also.

Wei:
SharePoint does restrict access to the sub-web as I would expect it to - the
issue is it doesn't hide the link to the sub-web based on users permissions
(to that sub-web) if you manually add it to the QuickLaunch menu. Try
creating a sub-web and select the option of adding it on the QuickLaunch
menu, and then also manually create a link to the site on the QuickLaunch
menu. If you then edit the quicklaunch menu and look at each of those links,
you'll notice that the one created automatically doesn't let you edit the URL
- the link is 'different' somehow from the one you create manually.

Thanks.

"Mike Walsh" wrote:

> Ask questions on how to do things "programmatically" to the SP
> Programming newsgroup (for all products) at
>
> microsoft.public.development_and_programming (saying, as here, that you
> are running WSS 3.0)
>
> It's where the programming experts are (and many existing programming
> threads)
>
> Mike Walsh
> WSS FAQ www.wssfaq.com / wss.collutions.com
> no private e-mail questions please
>
> jj_in_atlanta wrote:
> > on WSS 3.0:
> > when a sub-web was created we did NOT choose the option to display a link in
> > the quick-launch of the parent site.
> > Now, we do want the link to appear in the quick launch of the parent - if we
> > add the url manually, the link appears for all users even if they don't have
> > access.
> >
> > How can I re-add the sub-web so that SharePoint still does it's security
> > Trimming?
> > I see a property "isInternal" on an SPLink object, but it is read-only - and
> > I don't see how to programmatically create a link to the sub-web and specify
> > that it is internal.
> >
> > Thanks
>

Re: re-adding a sub-web to the quicklaunch of the parent by Mike

Mike
Wed Jan 09 09:24:30 CST 2008

I'm fairly sure there is a way to do this in the web interface (or at
least with SPD 2007).

My VM with WSS 3.0 is now elsewhere so I can't look at this until
tommorow so anyone is welcome to jump in.

(I fast read to "programmatically" ...)

Mike Walsh

jj_in_atlanta wrote:
> Mike:
> If there is a way to do this via the Web Interface please let me know. I
> just didn't see one and figured I'd need to do it with code. I'll post to
> the programming newsgroup also.
>
> Wei:
> SharePoint does restrict access to the sub-web as I would expect it to - the
> issue is it doesn't hide the link to the sub-web based on users permissions
> (to that sub-web) if you manually add it to the QuickLaunch menu. Try
> creating a sub-web and select the option of adding it on the QuickLaunch
> menu, and then also manually create a link to the site on the QuickLaunch
> menu. If you then edit the quicklaunch menu and look at each of those links,
> you'll notice that the one created automatically doesn't let you edit the URL
> - the link is 'different' somehow from the one you create manually.
>
> Thanks.
>
> "Mike Walsh" wrote:
>
>> Ask questions on how to do things "programmatically" to the SP
>> Programming newsgroup (for all products) at
>>
>> microsoft.public.development_and_programming (saying, as here, that you
>> are running WSS 3.0)
>>
>> It's where the programming experts are (and many existing programming
>> threads)
>>
>> Mike Walsh
>> WSS FAQ www.wssfaq.com / wss.collutions.com
>> no private e-mail questions please
>>
>> jj_in_atlanta wrote:
>>> on WSS 3.0:
>>> when a sub-web was created we did NOT choose the option to display a link in
>>> the quick-launch of the parent site.
>>> Now, we do want the link to appear in the quick launch of the parent - if we
>>> add the url manually, the link appears for all users even if they don't have
>>> access.
>>>
>>> How can I re-add the sub-web so that SharePoint still does it's security
>>> Trimming?
>>> I see a property "isInternal" on an SPLink object, but it is read-only - and
>>> I don't see how to programmatically create a link to the sub-web and specify
>>> that it is internal.
>>>
>>> Thanks

Re: re-adding a sub-web to the quicklaunch of the parent by weilu

weilu
Thu Jan 10 01:26:46 CST 2008

------=_NextPart_0001_FB863724
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello JJ,

I did not find any difference. All are direct to the same URL.

And all could get the correct access deny method.

You may try to check the permission in the UI for the account in sub site.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_FB863724
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hello JJ,
\par
\par I did not find any difference. All are direct to the same URL.
\par
\par And all could get the correct access deny method.
\par
\par You may try to check the permission in the UI for the account in sub site.
\par
\par Sincerely,
\par
\par Wei Lu
\par Microsoft Online Community Support
\par
\par ==================================================
\par
\par When responding to posts, please "Reply to Group" via your newsreader so
\par that others may learn and benefit from your issue.
\par
\par ==================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
------=_NextPart_0001_FB863724--


Re: re-adding a sub-web to the quicklaunch of the parent by weilu

weilu
Mon Jan 14 03:55:53 CST 2008

------=_NextPart_0001_0CB399BA
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_0CB399BA
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi ,
\par
\par How is everything going? Please feel free to let me know if you need any
\par assistance.
\par
\par Sincerely,
\par
\par Wei Lu
\par Microsoft Online Community Support
\par
\par ==================================================
\par
\par When responding to posts, please "Reply to Group" via your newsreader so
\par that others may learn and benefit from your issue.
\par
\par ==================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_0CB399BA--