Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to lock down certain restextension methods so that they can only be called by the admin account.
I've tried things such as :
<ext assembly="/bin/Busker.Umbraco" type="Busker.Umbraco.BaseRest.Postings" alias="postings"> <permission method="user" allowMember="admin" returnXml="false" /> </ext>
.. but I only get the following error: <error>Extension not found or permission denied</error>
Thanks Karsten
Hi Karsten,
I've been trying to do the same thing, but it seems that /Base permissions only work with Members and not Users.
Did you find a way round this ?
Thanks,
Hendy
(edit- Used /Base with allowAll="true", but did a check on the user in the static method.)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Restextensions.config allow admin user only
I want to lock down certain restextension methods so that they can only be called by the admin account.
I've tried things such as :
<ext assembly="/bin/Busker.Umbraco" type="Busker.Umbraco.BaseRest.Postings" alias="postings">
<permission method="user" allowMember="admin" returnXml="false" />
</ext>
.. but I only get the following error: <error>Extension not found or permission denied</error>
Thanks
Karsten
Hi Karsten,
I've been trying to do the same thing, but it seems that /Base permissions only work with Members and not Users.
Did you find a way round this ?
Thanks,
Hendy
(edit- Used /Base with allowAll="true", but did a check on the user in the static method.)
is working on a reply...