Aleks87 wrote:
3)
As you can see in the code above I have in my Livetable:
#set($colprops = {
"_actions" : {"actions":
["edit","delete","rename"]}
But "_actions" is "A special column to display a list of actions that can
be performed by administrators on the matched documents."
Is it possible to make it available to all other user who have edit and
delete rights?
I've found the "macros.vm" and I tried to change
#if($colname != '_actions' || $hasAdmin)
#elseif($colname != '_actions' || $hasAdmin)
to
#if($colname != '_actions' || $hasEdit)
#elseif($colname != '_actions' || $hasEdit)
Then user with Edit Rights and no Admin Rights can see the Actions column
but without the icons (edit, delete, rename). Please, can someone who knows
the code better tell me what I still need to change?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-t…
Sent from the XWiki- Users mailing list archive at
Nabble.com.