Making sure the Role slug is unique

parent 2dd4056b
...@@ -10,6 +10,7 @@ class RolesRequest extends FormRequest ...@@ -10,6 +10,7 @@ class RolesRequest extends FormRequest
{ {
return [ return [
'name' => 'required', 'name' => 'required',
'slug' => 'required|unique:roles,slug',
]; ];
} }
......
...@@ -3,6 +3,8 @@ versions: ...@@ -3,6 +3,8 @@ versions:
"3.1.0@unreleased": "3.1.0@unreleased":
added: added:
- Seeding new media.folders permissions on install - Seeding new media.folders permissions on install
changed:
- Making sure the role slug is unique
"3.0.0": "3.0.0":
added: added:
- <code>logUserIn</code> on the <code>Authentication</code> interface to log a user object in - <code>logUserIn</code> on the <code>Authentication</code> interface to log a user object in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment