Merge pull request #7 from baerenfaenger/master

Refactor user activation
Fix getting the result
Give a proper parameter to the function
Make the function public, as it is used in the backend
Also set the proper parameter, use it in the db statement and use the propert DB object
Merge pull request #9 from boom1992/master

Fix getting the result
Add methods to get if a user is an administrator, if a user is superior to another, if an administrator is deletable and to change a user's role
Add spaces, delete unnecessary login state check
Prettify the code, change level to role
Move isAdmin(), isSuperior() and isDeleteable() to permissionManager.class
Add method to check admin state to userManager
Change getAllActiveUsers() to return also Deleteable
Rename getUsersProjects() to getBelongedProjects() and fix broken return, rename projectManager to productionManager
Rename getAll() to getAllProjects() and add a return
Make getBelongedProjects() return every property
Merge pull request #13 from onurv12/master

Add methods to get if a user is an administrator, if a user is superior ...
Refactor class and file names form camelCase to PascalCase, change LEFT JOIN to JOIN in getBelongedProjects()
Also include Information about deleteability in session
Merge pull request #15 from boom1992/master

Also include Information about deleteability in session
Merge remote-tracking branch 'upstream/master'