[Moin-User] Attachments

Mehdi Hassanpour mehdi.public at gmail.com
Sun Apr 9 22:11:01 EDT 2006


On 4/8/06, Nir Soffer <nirs at freeshell.org> wrote:
>
>
> On 08/04/2006, at 08:47, Mehdi Hassanpour wrote:
>
> >  I know how to disable and enable Attachment... But does MoinMoin have
> > these features too ?
> >
> >  To let just Admin or a group of users attache files
>
> Attachments do not have their own ACL rule, but you need write right to
> add them, so if a page is writable only by admin group, attachments are
> enabled only for them.


What about public Wikis every one may have his own ACL on his pages...


>  To limit size of Attachments
>
> No. Maybe its possible by checking the http header if the browser sends
> a content-length header.
>
> >  To limit type of Attachments
>
> No.
>
> How do you detect the type of an attachment? by name? content? Try to
> describe a situation that require this limit.


Don't know, maybe it can check just by name or extension (soft limiting)...
this time size limiting is more important than content or name limitation
for me ;)


Best Regards,
>
> Nir Soffer
>
>


--
********************************************************
Yours Sincerely, Mehdi Hassanpour
----------------------------------------------------------------------
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
                           ~Saadi (persian poet) -1258 */
----------------------------------------------------------------------
http://ImPersian.com     |     http://Hezardastan.org
********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20060409/404cff49/attachment.html>


More information about the Moin-user mailing list