Lukas W.
Well-known member
I've been struggling for quite a while now when trying to create my own addon and have come to the conclusion, that I will just bombard you with my questions. First one is about custom permissions in templates.
So I've activated debug mode and created a new permission for my addon, however I want to make a use out of it now of course. I've tried to do some research about the topic - needless to say I failed.
What I want to do exactly:
I have created a code snippet in a custom template modification inside the TMS and want to wrap it in (I guess) some sort of If-query to see, if the current user has sufficient permissions to see the code inside.
So I've activated debug mode and created a new permission for my addon, however I want to make a use out of it now of course. I've tried to do some research about the topic - needless to say I failed.
What I want to do exactly:
I have created a code snippet in a custom template modification inside the TMS and want to wrap it in (I guess) some sort of If-query to see, if the current user has sufficient permissions to see the code inside.