Feature Request: replace "." with "_" in db names for simple-user-policy plugin
Bug #920900 reported by
Theodotos Andreou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Wishlist
|
Stewart Smith | ||
7.1 |
Fix Released
|
Wishlist
|
Stewart Smith |
Bug Description
I recently installed drizzle for the students in our university and I use the simple-user-policy plugin so they can create their own databases. The problem is that their username include a "." (inherited from a Windows Domain) and creation of databases with dots is not allowed. There is a workaround to use backticks "``" but it would be better if the user could replace the "." with "_" in the database name. Henrik Ingo (hingo) suggested that this is trivial to implement.
You can find below the relevant discussion in the questions:
Related branches
lp:~stewart/drizzle/bug920900
- Drizzle Merge Team: Pending requested
-
Diff: 107 lines (+50/-2)5 files modifiedplugin/simple_user_policy/module.cc (+13/-1)
plugin/simple_user_policy/policy.h (+13/-1)
plugin/simple_user_policy/tests/r/remap_dot_to.result (+10/-0)
plugin/simple_user_policy/tests/t/remap_dot_to-master.opt (+1/-0)
plugin/simple_user_policy/tests/t/remap_dot_to.test (+13/-0)
tags: | added: featurerequest |
description: | updated |
tags: | added: simple-user-policy |
Changed in drizzle: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Stewart Smith (stewart) |
status: | New → In Progress |
To post a comment you must log in.
It would be good to make this option configurable (and maybe disabled by default).