Skip to content

Groups and Roles are not added to the security during deployment #11

@sqlkabouter

Description

@sqlkabouter

The roles I added to the security inside my XML configuration are not added to SSRS during deployment.

I used the following XML as example:

<?xml version="1.0" encoding="utf-8"?>
<Folder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Root">
  <Folders>
    <Folder Name="MyFolder">
      <Reports>
        ...
      </Reports>
      <Security Name="myuser2">
        <Roles>
          <Role>Browser</Role>
          <Role>Content Manager</Role>
        </Roles>
      </Security>
    </Folder>
  </Folders>
  <Security>
    <Security Name="myuser1">
      <Roles>
        <Role>Browser</Role>
        <Role>Content Manager</Role>
      </Roles>
    </Security>
  </Security>
</Folder>

When testing the PowerShell functions I see that the Set-SecurityPolicy() function returns the folder path /Root for the root folder and /MyFolder/MyFolder for the MyFolder folder.

It seems that the folder name is added to one to many times to the path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions