Indeed using a jspvar on mm:cloud is currently the only way.
I was thinking on a set of tags for this purpose.
Something like:
User: <mm:user /> with <mm:rank /> <mm:hasrank minvalue="administrator"> stuff that only admins should see. </mm:hasrank>
These would be really straightforward to implement and are obviously mmbase related, so perhaps these small features could be added before the closing of the current taglib project. But I don't think we have discussed them in the taglib meeting(s) or proposal, so perhaps we can do it in this way?
Has anybody remarks, wishes, proposals on this?
Good idea.
Would it also be an idea to make it possible to make 'user' and 'rank' an attributes of some of the MMBase tags? Like for example the <mm:maywrite />, <mm:create /> etc. tags.
---Andr� -- ------------------------------------------------------------------>><<-- Andr� van Toly http://www.toly.nl 06-27233562
