Making sure the Role slug is unique

parent 2dd4056b
......@@ -10,6 +10,7 @@ class RolesRequest extends FormRequest
{
return [
'name' => 'required',
'slug' => 'required|unique:roles,slug',
];
}
......
......@@ -3,6 +3,8 @@ versions:
"3.1.0@unreleased":
added:
- Seeding new media.folders permissions on install
changed:
- Making sure the role slug is unique
"3.0.0":
added:
- <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