Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Karsten Grombach 16 posts 34 karma points
    Jun 15, 2010 @ 11:47
    Karsten Grombach
    0

    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

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Aug 30, 2010 @ 12:40
    Hendy Racher
    0

    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.)

  • 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.

Please Sign in or register to post replies