Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sqlkabouter opened this issue Oct 5, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@sqlkabouter
Copy link
Contributor

commented Oct 5, 2018

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.

@mmajcica

This comment has been minimized.

Copy link
Owner

commented Oct 5, 2018

Thank you. I'll publish a new version of extension tomorrow.

@mmajcica mmajcica closed this Oct 5, 2018

@mmajcica

This comment has been minimized.

Copy link
Owner

commented Oct 10, 2018

A new version with your changes is published. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.