and make sure its doccoed
I'm not sure if there is a contecxt that was not doccoed, or if this fell though the cracks
--
TWiki:Main/SvenDowideit - 21 Aug 2007
Depends on what you mean. Authorised to edit? No-one else holds a lease? Topic exists? There's a 'r' in the month?
--
TWiki:Main.CrawfordCurrie - 21 Aug 2007
I was thinking something to make the Edit, attach etc buttons only display if the user has the relevant permissions...
--
TWiki:Main.SvenDowideit - 25 Aug 2007
This is a good idea. Regraded as Enhancement. it would be really neat to have.
Another approach would be to add a
checkpermission
function to %IF. This would take two parameters, the name of the topic and the access mode to be checked e.g.
%<nop>IF{"checkpermission('Item4473','change')" then="do your best" else="do nothing"}%
CC
By coincidence I discovered that this is critical for a TWiki application I am working on for a client. I also need
istopic
and
isweb
existance checks. i know I could probably use %CALC, but there are other good reasons for not wanting to do that. All three operators implemented with unit tests.
CC
With the danger of stepping on someone's toes I will yet again reclassify this bug item. I am OK with seeing it as a bug fix but not a release blocker. So by all means fix it, but let us not discuss it at release meeting. So I simply just downgrade it to normal.
Additionally I interpret CC's statement as CC working on it. So changing the Waiting For field.
KJL