Changeset: ea7af30f932f for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ea7af30f932f Modified Files: sql/test/Users/Tests/grantRole.Bug-3772.stable.err sql/test/Users/Tests/grantRole.Bug-3772.stable.out Branch: default Log Message:
approved output diffs (49 lines): diff --git a/sql/test/Users/Tests/grantRole.Bug-3772.stable.err b/sql/test/Users/Tests/grantRole.Bug-3772.stable.err --- a/sql/test/Users/Tests/grantRole.Bug-3772.stable.err +++ b/sql/test/Users/Tests/grantRole.Bug-3772.stable.err @@ -1,4 +1,4 @@ -stderr of test 'grantRole` in directory 'sql/test/Users` itself: +stderr of test 'grantRole.Bug-3772` in directory 'sql/test/Users` itself: # 22:31:48 > @@ -26,15 +26,21 @@ stderr of test 'grantRole` in directory # cmdline opt embedded_r = yes # cmdline opt gdk_debug = 536870922 -# 22:31:49 > -# 22:31:49 > "/usr/bin/python2" "grantRole.SQL.py" "grantRole" -# 22:31:49 > +# 21:11:02 > +# 21:11:02 > "/usr/bin/python2" "grantRole.Bug-3772.SQL.py" "grantRole.Bug-3772" +# 21:11:02 > -#GRANT role1 to bruce; -# I imaine the error message should be something like this... -GRANT: cannot grant ROLE 'role1' to ROLE/USER 'bruce' +MAPI = (bruce) /var/tmp/mtest-29369/.s.monetdb.31833 +QUERY = GRANT role1 to bruce; +ERROR = !GRANT: insufficient privileges to grant ROLE 'role1' +MAPI = (bruce) /var/tmp/mtest-29369/.s.monetdb.31833 +QUERY = SET role role1; +ERROR = !Role (role1) missing +MAPI = (bruce) /var/tmp/mtest-29369/.s.monetdb.31833 +QUERY = select * from test; +ERROR = !SELECT: access denied for bruce to table 's1.test' -# 22:31:49 > -# 22:31:49 > "Done." -# 22:31:49 > +# 21:11:02 > +# 21:11:02 > "Done." +# 21:11:02 > diff --git a/sql/test/Users/Tests/grantRole.Bug-3772.stable.out b/sql/test/Users/Tests/grantRole.Bug-3772.stable.out --- a/sql/test/Users/Tests/grantRole.Bug-3772.stable.out +++ b/sql/test/Users/Tests/grantRole.Bug-3772.stable.out @@ -1,4 +1,4 @@ -stdout of test 'grantRole` in directory 'sql/test/Users` itself: +stdout of test 'grantRole.Bug-3772` in directory 'sql/test/Users` itself: # 22:31:48 > _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list