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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.