Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: revoke role not working Sybase ASE 15.7

$
0
0

Hi Dwayne J.

 

 

I did the test in the same way you did

But that could not happen.

 

 

SA_session >>> 

1> sp_addlogin john4,john4pw

2> go

1> grant role sso_role, mon_role to john4

2> go

 

 

john4_session >>>

1> sp_activeroles

2> go

Role Name

------------------------------

sso_role

mon_role

 

 

1> revoke role mon_role from john4

2> go

 

 

SA_session >>> 

 

 

1> revoke role mon_role from john4

2> go

Msg 11155, Level 16, State 1:

Server 'RDS1', Line 1:

Operation failed. Role 'mon_role' has not been granted to user 'john4'.

 

 

 

 

 

 

------------------------------------------------

 

 

SA_session >>>

 

 

1> sp_addlogin john5,john5pw

2> go

 

 

1> grant role sso_role, mon_role to john5

2> go

 

 

john5_sesion >>>

isql -Ujohn5 -Pjohn5pw

 

 

SA_session >>>

1> revoke role mon_role from john5

2> go

 

 

john5_session >>>

1> revoke role mon_role from john5

2> go

Msg 11155, Level 16, State 1:

Server 'RDS1', Line 1:

Operation failed. Role 'mon_role' has not been granted to user 'john5'.

 

 

 

 

 

 

 

 

I did this on Adaptive Server Enterprise/15.7/EBF 22779 SMP SP122 /P/x86_64/Enterprise Linux.

 

 

Which version of ASE are you using ?

 

 

If your ASE is lower version than mine, that seems to be fixed.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>