Just an informative question. Now there is a permissions column in the actions component, what is the use of the code comlumn exactly. Before I used it to replace
If I only wanted admins to see the actions. What does this first code block exactly do? Can we empty all the code blocks and will the permissions setting work independently?
I would imagine the permissions dropdown was added specifically for this reason, so the code box can be used to do other things. I'll test this out to make sure it is working, but to answer your question directly:
WillemDH wrote:what is the use of the code comlumn exactly
Probably not much use anymore. In my opinion, running any sort of user-supplied PHP code is A Bad Thing, but I think we originally put it in there so custom actions can be defined (and permissions-based code can be run).