List Info

Thread: Re: Attachments progress report




Re: Attachments progress report
country flaguser name
United States
2007-04-12 20:02:27
> > Is it ok to use the topic's rights AllowEdit and
AllowRead for
> > attachments?
> 
> Seems reasonable to me.

As long as you're accessing it via
NamespaceManager.HasPermission(topic,
TopicPermission.Xxx), of course. That's actually more than
just the
AllowRead/AllowEdit stuff - if the file is read-only, for
example,
HasPermission for Edit will return false. 



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flexwiki-users mailing list
Flexwiki-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki
-users

Re: Attachments progress report
country flaguser name
Canada
2007-04-13 08:28:40
Perfect, that's what I use.

-----Original Message-----
From: flexwiki-users-bounceslists.sourceforge.net
[mailto:flexwiki-users-bounceslists.sourceforge.net] On
Behalf Of Craig
Andera
Sent: April 12, 2007 9:02 PM
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] Attachments progress report

> > Is it ok to use the topic's rights AllowEdit and
AllowRead for
> > attachments?
> 
> Seems reasonable to me.

As long as you're accessing it via
NamespaceManager.HasPermission(topic,
TopicPermission.Xxx), of course. That's actually more than
just the
AllowRead/AllowEdit stuff - if the file is read-only, for
example,
HasPermission for Edit will return false. 



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flexwiki-users mailing list
Flexwiki-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki
-users



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flexwiki-users mailing list
Flexwiki-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki
-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )