fixes #3975 - add audit to classes Domain, Subnet, SmartProxy, Role, Usergroup, AuthSource, Image, Bookmark that were not audited
fixes #2741 - rails 3 syntax
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2801 - remove LOWER in default_scope of models that could cause PG error
refs #2254 - STI Host relationships
Added gettext calls to the usergroups and roles pages.
Note, this patch does not include an update to the strings file. This will allow patches to be submitted without colliding with each other.To regenerate the strings file, run rake gettext:find.
API now allows for search of usergroups
removed has_many_polymorphs and used has_many :source and :source_type
fixes #1792 - error on json output of usergroups
api v1 - Users controller and tests
- split api routes to separate routes file- better detection of permission failure in model- fix ApiConstraints- catch bad routes in api and return json- render home#index links from restapi- fixed resource params recognition
WIP rails3 migration
fixes #918 - API /usergroups won't output json
Signed-off-by: Marcello de Sousa <foreman-dev@area151.com>
fixed broken tests
added default order and paginations whichfixes #721fixes #688
Fixes #366 - Redmine authorization port
This is a major feature which provides RBAC authorization within Foremana mental note to myself - never ever work on large commits
fixes #302 and all references to_label and to_sremoved references to all per_page settings as they are common now
fixes #271 - remove active scaffold plugin
Fixes #170 - implement usergroups
Added migrationAdded testsAdded MVC filesAdded the routes as wellAdded the program logic and additional viewsAdded RESTful actions for update and createAdded validations to ensure that usergroup.name and user.login do not collide...