DC2B-34: 1)Add metadata:create permission to UserRoles; 2) change to use window.alert instead of EXT js
DC2B-33: Resolve test cases and now they all passed.