SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67405: The sas-admin CLI plug-in for the transfer service omits the slash at the end of the command when it promotes rules

DetailsHotfixAboutRate It

When you promote rules that contain a slash at the end using the sas-admin command-line interface (CLI), the slash is missing after import.

For example, when you execute the sas-admin command as shown below to check the imported rule for id=6e966869-a463-4e96-8270-2077557c54f8, the slash is omitted:    

# Define our environment
export SAS_ADMIN=/opt/sas/viya/home/bin/sas-admin
   
id=6e966869-a463-4e96-8270-2077557c54f8     
$SAS_ADMIN   authorization show-rule --details --id $id
Id                  6e966869-a463-4e96-8270-2077557c54f8
ObjectUri           /SASEnvironmentManager
MediaType
Principal
PrincipalType       authenticatedUsers
Type                grant
Permissions         [read]
Condition
ContainerUri
Filter
Reason
Description         Allow access to an application.
Version             10
CreatedBy           sas.SASEnvironmentManager
CreatedTimestamp
ModifiedBy          sasadm
ModifiedTimestamp   2020-10-07T10:12:31.843Z

Workaround

You must manually add the slash as in the following example:

$SAS_ADMIN authorization update-rule --id $id --object-uri /SASEnvironmentManager/
Id              6e966869-a463-4e96-8270-2077557c54f8
ObjectUri       /SASEnvironmentManager/
Principal
PrincipalType   authenticatedUsers
Type            grant
Permissions     [read]
The rule has been modified.
 $SAS_ADMIN   authorization show-rule --details --id $id
Id                  6e966869-a463-4e96-8270-2077557c54f8
ObjectUri           /SASEnvironmentManager/
MediaType
Principal
PrincipalType       authenticatedUsers
Type                grant
Permissions         [read]
Condition
ContainerUri
Filter
Reason
Description         Allow access to an application.
Version             10
CreatedBy           sas.SASEnvironmentManager
CreatedTimestamp
ModifiedBy          sasadm
ModifiedTimestamp   2020-10-07T10:31:58.454Z

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaMicrosoft Windows 8 Pro 32-bit3.4Viya
Microsoft Windows 8 Pro x643.4Viya
Microsoft Windows 8.1 Enterprise 32-bit3.4Viya
Microsoft Windows 8.1 Enterprise x643.4Viya
Microsoft Windows 8 Enterprise 32-bit3.4Viya
Microsoft Windows 8 Enterprise x643.4Viya
Microsoft Windows NT Workstation3.4Viya
Microsoft Windows 2000 Professional3.4Viya
Microsoft Windows 2000 Advanced Server3.4Viya
Microsoft Windows 8.1 Pro x643.4Viya
Microsoft Windows 8.1 Pro 32-bit3.4Viya
Microsoft® Windows® for x643.4Viya
Microsoft Windows 2000 Server3.4Viya
Microsoft Windows 95/983.4Viya
Microsoft Windows 103.4Viya
Microsoft Windows 2000 Datacenter Server3.4Viya
Microsoft Windows Server 2003 Datacenter Edition3.4Viya
Microsoft Windows Server 2003 Enterprise Edition3.4Viya
Microsoft Windows Server 2003 Standard Edition3.4Viya
Microsoft Windows Server 2003 for x643.4Viya
Microsoft Windows Server 20083.4Viya
Microsoft Windows Server 2008 R23.4Viya
Microsoft Windows Server 2008 for x643.4Viya
Microsoft Windows Server 2012 Datacenter3.4Viya
Microsoft Windows Server 2012 R2 Datacenter3.4Viya
Microsoft Windows Server 2012 R2 Std3.4Viya
Microsoft Windows Server 2012 Std3.4Viya
Microsoft Windows Server 20163.4Viya
Microsoft Windows Server 20193.4Viya
Microsoft Windows XP Professional3.4Viya
Windows 7 Enterprise 32 bit3.4Viya
Windows 7 Enterprise x643.4Viya
Windows 7 Home Premium 32 bit3.4Viya
Windows 7 Home Premium x643.4Viya
Windows 7 Professional 32 bit3.4Viya
Windows 7 Professional x643.4Viya
Windows 7 Ultimate 32 bit3.4Viya
Windows 7 Ultimate x643.4Viya
Windows Millennium Edition (Me)3.4Viya
Windows Vista3.4Viya
Windows Vista for x643.4Viya
Linux for x643.4Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.