Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show notification menu to users with notification_admin team role #4399

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

mabashian
Copy link
Member

SUMMARY

Notifications (in the side nav) was hidden from users who were granted the notification admin role through a team permission. This PR fixes that.

The previous endpoint only returns whether or not the user has been explicitly granted the notification admin role on the org.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • UI

Copy link
Contributor

@jakemcdermott jakemcdermott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 ⚡ verified

notification_admin

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@@ -46,7 +46,7 @@ describe('Components | Layout', () => {
$httpBackend.when('GET', /admin_of_organizations/)
.respond(mockOrgAdminResponse);

$httpBackend.when('GET', /roles\/\?role_field=notification_admin_role/)
$httpBackend.when('GET', /organizations\/\?role_level=notification_admin_role/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

@jakemcdermott
Copy link
Contributor

regate

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 4a35df9 into ansible:devel Jul 30, 2019
@mabashian mabashian deleted the 3676-notif-menu branch September 27, 2019 15:10
ryanpetrello added a commit to ryanpetrello/awx that referenced this pull request Aug 5, 2020
Add queue / instance group registration to heartbeat for k8s installs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants