BookmarkSubscribeRSS Feed
bondarevid
Calcite | Level 5

Hi!

I'm currently checking "Conditional grant" function:

In previous version - https://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf

I was able to create permissions by using "New Permission Condition window" but in SAS Viya there is only spring expression language.

So my questions are

1) How can I create conditional grant to include specific rows using Spring expression language?

Example:

I've got two users: "Admin" and "Developer" there is a table named "Example_1" two columns "Country" and "Name".

So I want that user named "Developer" can see rows where "Country" = "USA", "Italy", "China", "Russia".

2) Is there any way to create custom report (different objects for different users)?

 

Technical info: Viya 3.5 VA 8.4

1 REPLY 1
bondarevid
Calcite | Level 5

I've added screenshots below to show my steps:

1.jpg

2.jpg

3.jpg

4.jpg

5.jpg

  

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1054 views
  • 0 likes
  • 1 in conversation