orientdb
orientdb copied to clipboard
ALLOW_ALL_BUT mode in the orole class does not work
Hi, in the demo database, I entered: update orole put rules = "database.class.Person",0 where name = "admin"
This should be disallow access (PERMISSION_NONE=0) to the Person class by the admin role, since its mode is set to 1 (ALLOW_ALL_BUT).
Then I disconnected and reconnected via console using the admin user. The query: select from Person give the following reply: orientdb> select from person ---+---------+--------------------+--------------------+-------------------- #| RID |name |city |gender ---+---------+--------------------+--------------------+-------------------- 0| #87:0|Raf |TORINO |f
Instead of a security exception.