Various bugs in the new Rights Management UI
--------------------------------------------

                 Key: XWIKI-1963
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1963
             Project: XWiki Platform
          Issue Type: Bug
          Components: Templates, Skins & User Interface
    Affects Versions: 1.2 RC2
            Reporter: Sergiu Dumitriu


While checking the new RMUI, I found and fixed several bugs/improvements, like:

- Changing the checkbox state should be done when receiving a confirmation 
message from the server, not when sending the request
- Clicking twice on a checkbox should not send two requests
- Events that don't change the filters shouldn't trigger a refresh (like 
pressing shift when the username filter has focus)
- Computing the displayed range from the scroll position was incorrect
- When updating the scrollbar dimensions, also update the scrollbar position
- Added lots of jsdoc, comments and todos
- Replaced the triplicated UI code (from adminglobalrights, adminspacerights 
and editrights) with only one rightsUI.vm template
- Don't send back and forth the list of displayed right levels, but use a local 
javascript variable
- Replace many areas of 7-fold duplicated code (once for each right) with 
foreach-es
- Replace particular right listing with one variable listing the displayed 
rights
- Made the Ajax table a bit more generic (XWiki-independent)
- Various javascript coding techniques improvements
- Fixed existing rights detection when more than one object for that 
person/group exists (use right lists updated for each object, instead of 
returning the string found in the last matching object), and only return true 
for deny when both allow and deny rules exist for the same right
- Fixed out-of-order response bugs (XWIKI-1849 and XWIKI-1843)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to