Foreman Roles and Permissions Fails after version 1.16 ->

Problem:
I had version 1.15 installed before. At that time we setup Roles and Permissions and it works as I expected it to do. We upgrade to version 1.16 and after a while some DevOps told me that they couldn’t do what they have done before. When I looks in the logs it says that the DevOps user has permissions to do the change but the gui fails.

Today I installed a completely new fresh installation on a new Ubuntu 16.04 host. I created a Host group, config group and a class. I also created a user test1 and gave him access to all build in Roles. I also created a new group where I added the filters Config group and Puppet class. I have all access like import/destroy/edit/create/view.
After some testing I realize that my user test1 can Remove a class from a config group. Remove Config group from a Host group. But not add anything.

Just because I haven’t done anything else than above I think this is some kind of bug.

Expected outcome:
Be able to add classes and config groups

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

This seems to solve the problem
https://github.com/theforeman/foreman/pull/5470/files

This should be hopefully be fixed in the next 1.16 release when it is out:
https://github.com/theforeman/foreman/pull/5584