[ 
http://tracker.firebirdsql.org/browse/CORE-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Zotov reopened CORE-2553:
-------------------------------


Reopen ticket - see my issue of 09/May/15 09:39 PM. Currently (WI-T3.0.0.31846) 
its all the same:

C:\FBTESTING\qa\fbt-repo\tmp>C:\1INSTALL\FIREBIRD\fb30sC\isql.exe /3330:e30 
-user sysdba -pas masterke
Database:  /3330:e30, User: sysdba
SQL> create sequence g; commit;
SQL> create user maverick password '123';
SQL> commit;
SQL> revoke all on all from maverick;
Warning: ALL on ALL is not granted to MAVERICK.
SQL> commit;
SQL> exit;

C:\FBTESTING\qa\fbt-repo\tmp>C:\1INSTALL\FIREBIRD\fb30sC\isql.exe /3330:e30 
-user maverick -pas 123
Database:  /3330:e30, User: maverick
SQL> show sequ;
Generator G, current value: 0, initial value: 0, increment: 1
SQL> select gen_id(g, -891289121) from rdb$database;

               GEN_ID
=====================
           -891289121

SQL> show sequ;
Generator G, current value: -891289121, initial value: 0, increment: 1
SQL>

> Grants access on generators (gen_id, next value for)
> ----------------------------------------------------
>
>                 Key: CORE-2553
>                 URL: http://tracker.firebirdsql.org/browse/CORE-2553
>             Project: Firebird Core
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0.0, 1.5.4, 2.0.1, 2.0.2, 2.0.3, 1.5.5, 2.1.0, 2.0.4, 
> 2.5 Alpha 1, 2.1.1, 2.0.5, 2.1.2,  2.5 Beta 1
>            Reporter: eXandr
>            Assignee: Dmitry Yemanov
>             Fix For: 3.0 Alpha 1
>
>
> Need to manage the privileges for the generators, like RED Database:
> GRANT SELECT | UPDATE ON GENERATOR|SEQUNCE {generator}
> TO {user | role} [WITH GRANT OPTION]
> REVOKE SELECT | UPDATE ON GENERATOR|SEQUNCE
> {generator} FROM {user | role}
> REVOKE GRANT OPTION FOR SET | GET ON
> GENERATOR|SEQUNCE {generator} FROM {user | role}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to