Branch for working on SAK-6361

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123025 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Correct indentation to aid readability.

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123026 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Removed check for hiding the checkbox.

hiddenLock is not referenced anywhere in PermissionHelperAction so will always be empty.
editViewRoster is never setup in PermissionHelperAction so will always be empty.
The permissions helper never gets called for the site prefix so I'm dropping the check on site.vireRoster as well.

The hidden checkbox would also have broken realms where the permission came in through an additional realm.

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123027 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Fix helper so it does drop permissions.

This makes sure we always render the <input> tag so that when the permission is inherited we don't lose the permission when saving the realm.

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123069 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Switch to alternative layout when already granted.

This is because when you disable an input box the value isn't submitted with the form so we return to losing the value again.

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123078 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Switch to getBoolean as it's clearer we're looking for a boolean.



git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123079 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Give the disabled input an id that matches the label.

This should link the two together better, although being contain within the label this should be redundant. I haven't remove the for/id as it may be there for screen readers to improve accessibility.

git-svn-id: https://source.sakaiproject.org/svn/authz/branches/SAK-6361@123080 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-6361 Keep inheritied permission when they can't be edited.

Also cleaned up some unused code in the template.

git-svn-id: https://source.sakaiproject.org/svn/authz/trunk@123084 66ffb92e-73f9-0310-93c1-f5514f145a0a
NOJIRA Excluding Eclipse/maven files from SVN

git-svn-id: https://source.sakaiproject.org/svn/authz/trunk@123085 66ffb92e-73f9-0310-93c1-f5514f145a0a