Commit d092a34f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Fix bug: edit LDAP group settings from admin panel

The group_params method was filtering out the ldap_cn and ldap_access
attributes when creating/updating a group from the admin interface.
parent c4e3382c
......@@ -58,6 +58,6 @@ class Admin::GroupsController < Admin::ApplicationController
end
def group_params
params.require(:group).permit(:name, :description, :path, :avatar)
params.require(:group).permit(:name, :description, :path, :avatar, :ldap_cn, :ldap_access)
end
end
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