Hoppa till huvudinnehållet

Permissions from AD group along with Global-All Users not working

Kommentarer

4 kommentarer

  • John Nerge
    I've gotten this to work by adding this to the opening Permissions tag for each layer I want to apply Allow Before Deny to in my site.xml:

     

    <Permissions Inherit="True" Precedence="AllowBeforeDeny">
    0
  • Permanently deleted user
    Thanks John,

     

    That worked!  Amazingly, I still had to keep the settings in the web.config file set so that User Permissions take precendence over other permissions.  Then I had to apply the <Permissions Inherit="True" Precedence="AllowBeforeDeny"> to my feature service (only the FeatuerService layer! I did NOT apply this Permissions code to the MapService layer).  That seemed a bit strange, but it works!

     

    Thanks again!
    0
  • Doug Yates

    I appreciate the detail from Michael and John here and can see where this can come in handy for me elsewhere.

    The core problem we are trying to solve as I understand it is that you have a user/subset of users that are also part of a larger group and you want to provide differing permissions for that user/subset. The problem that we are fighting here is the fact that deny is applied ahead of allow by default (and frankly I think this is the appropriate treatment).

    I would like to share how we have been able to achieve this without modifying this default (deny over allow) behavior or editing the files directly. Instead you can use the GE Manager permissions UI to achieve this.

    Essentially what you do is indirectly 'allow' or 'deny' permissions using the group. Then you directly apply 'allow' permissions to the layer/item/service for the user/subset. This basically says the big group (all users in this example) gets 'deny' for all items under the group unless something else specifies differently. Then the user/subset permission will directly provide 'allow' or 'deny' to the item under the group. You can also mix this, i.e. 'deny' all workflows as a group and then directly 'allow' the workflows you want all users to have for the larger user group. Then the subset user group gets a direct 'allow' on additional workflows. This is handy for admin type workflows for example.

    For Michael's specific example you would have:

    User-added image

    User-added image (an astute eye would catch that the indirect 'allow' on the project group is not required since it is inheriting from higher level, but the way I've illustrated here works fine as well)

    Hope this helps someone!

    0
  • Permanently deleted user
    Thank you Douglas!! Your response was EXTREMELY helpful for me. We have a situation where we have users in multiple roles and your method allows me to create permissions without changing default settings.

     

    However, I would love to see more elaborate documentation from Latitude on how to handle this type of scenario.

     

    It would also might be helpful to have a global "allow before deny" setting. 
    0

Du måste logga in om du vill lämna en kommentar.