Bug with attribute edits

- users without publishing rights couldn't edit attributes. Fixed
Merge branch 'master' of https://github.com/MISP/MISP