Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Syntax variants (which ones we'll do?):
CREATE USER xxx DEFAULT ROLE yyy; |
ALTER USER xxx DEFAULT ROLE yyy; |
SET DEFAULT ROLE yyy; |
SET DEFAULT ROLE yyy [ FOR xxx ]; |
When a default role is set, the server implicitly runs SET ROLE yyy for every new connection (or after a COM_CHANGE_USER for a user xxx).
The default role is stored in a new column in the mysql.user table.
Attachments
Issue Links
- relates to
-
MDEV-4397 Roles
-
- Closed
-
- links to
Activity
Description |
Syntax variants (which ones we'll do?): {code:sql} CREATE USER xxx DEFAULT ROLE yyy; ALTER USER xxx DEFAULT ROLE yyy; SET DEFAULT ROLE yyy; SET DEFAULT ROLE yyy [ FOR xxx ]; {code} When a default role is set, the server implicitly runs SET ROLE yyy for every new connection (or after a COM_CHANGE_USER for a user xxx). |
Syntax variants (which ones we'll do?): {code:sql} CREATE USER xxx DEFAULT ROLE yyy; ALTER USER xxx DEFAULT ROLE yyy; SET DEFAULT ROLE yyy; SET DEFAULT ROLE yyy [ FOR xxx ]; {code} When a default role is set, the server implicitly runs SET ROLE yyy for every new connection (or after a COM_CHANGE_USER for a user xxx). The default role is stored in a new column in the mysql.user table. |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Vicentiu Ciorbaru [ cvicentiu ] | Sergei Golubchik [ serg ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Workflow | defaullt [ 29513 ] | MariaDB v2 [ 44480 ] |
Status | Open [ 1 ] | In Review [ 10002 ] |
Remote Link | This issue links to "pull request (Web Link)" [ 17804 ] |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.1.0 [ 12200 ] |
Fix Version/s | 10.1.1 [ 16801 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |
Workflow | MariaDB v2 [ 44480 ] | MariaDB v3 [ 67142 ] |
Workflow | MariaDB v3 [ 67142 ] | MariaDB v4 [ 132210 ] |