BookmarkSubscribeRSS Feed
PabloJ
Fluorite | Level 6

Hi all, 


I want to give permssions to a group for just one report. I would like to know the best way to do that. 

The point is that I created a new group for this, I gave permission to the reports folder and then I denied permission for all reports one by one except the report I have to give permissions. 

I don´t like this way because the report´s folder can change, users can make new reports and I will have to deny permssions manually and must check all the reports every days. 

The metadata structure we have looks like: 

"DEPARTMENT FOLDER"
          "Image Files"

          "Reports"
          "Libraries and tables"

          "Queries"

          "STP" (stored process)

I gave permissions to the department folder and denied to individual reports inside reports folder. 

 

If it was possible I would like to do the opposite way, All denied and just give permissions to the folder/reports I´m interesting. 

Thanks in advance. 

Regards. 

8 REPLIES 8
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Is this Visual Analytics or which software package?

PabloJ
Fluorite | Level 6
Sorry, Visual Analytics 7.4
FredrikE
Rhodochrosite | Level 12

Hi!

There is a problem with the process of denying and then granting permission and that's because deny is stronger than grant!

I donät think you can deny on a folder level and then grant on the underlying object due to this.

 

I like to use permissions on folders and have folders for specific areas, one for each.

On the folder level I deny sasusers r/rm and grant r/rm to the user group(s) that should have access.

 

When new reports are created the only important thing to remeber is to put them in the correct folder 🙂

 

If you must (!) set permission on each report, I would go for scripting the permission. You can for example use the data step metadata-funtions or XML to achieve this.

 

//Fredrik

 

PabloJ
Fluorite | Level 6

Thanks FredrikE, I will have to do your suggestion. I already have folder for department but I will have to create more folder for this cases. (Same department different project) 


DenisS
Calcite | Level 5

I would like to restrict permissions on a SAS Viya Visual Analytics report.  I do, as you suggested, have permissions on a folder, as well as on the CASLIB that holds the data supporting the report, but I am talking about the report itself.  The permissions on the folder are read Grant, and everything else none.  But the user can actually go in and edit the report, such as change a chart, or move it around, etc. Is there something else I need to do to lock that down so that they literally can only read it? meaning open the report, navigate around, use the filters and charts already provided, but they can't change the chart (from a pie to a bar as example) or delete the chart, etc.  Thanks!

Madelyn_SAS
SAS Super FREQ

You can prevent users from editing any report, but you cannot restrict them from editing a particular report if they are assigned the editing capability. You can prevent the from saving the edited report in the same folder as the original report by denying write permission to the folder. 

 

I can post a link to the documentation on controlling capabilities in Visual Analytics, but I'll need to know your version. 

mfort
SAS Employee

Hello,

is also available documentation to set report control capabilities on Viya4?

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 2791 views
  • 2 likes
  • 6 in conversation