Moved role constraints into model and removed edit deployment

(cherry picked from commit 17a1122a06dca6d2cb9fc1b16934f906bfb0fdfd)
Merge pull request #278 from vuntz/release/roxy/master

Moved role constraints into model and removed edit deployment
Removed the single assignment block from constraints
Merge pull request #279 from tboerger/feature/roxy/fix-constraints

Removed the single assignment block from constraints