Bug 694912
Summary: | Can't create new Alert Template, edit button is disabled | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> | ||||
Component: | Core UI | Assignee: | Jay Shaughnessy <jshaughn> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0.0.Beta2 | CC: | hrupp, jshaughn, skondkar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.0 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | --- | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 585306 | ||||||
Attachments: |
|
Description
Mike Foley
2011-04-08 20:19:55 UTC
Created attachment 490866 [details]
screenshot of issue
commit 1b76728da8c05cb9efe2ea04a5e6a677e98166af Author: Jay Shaughnessy <jshaughn> Date: Tue Apr 12 12:56:37 2011 -0400 This boiled down to an async issue where it was not guaranteed that the global perms would be loaded prior to providing them for enablement purposes. made template view like resource and group and now provides the perms in the constructor, guaranteeing existence. also made an analogous fix to metric template button enablement. Test notes: test with permissioned and non-permissioned users. I'd also suggest testing not only alert templates but also some surface level testing of group and resource alert def testing. Verified on rhq4 release build (Version: 4.0.0 Build Number: db0c817) Verified on Alerts template and on group and resource alert definitions. Edit button is enabled for user having permissions. For user without permissions, all the buttons like New, Enable, Disable, Delete and Edit are disabled. Marking as verified. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |