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

Update isRealmEnabled sql #912

Merged
merged 2 commits into from
May 2, 2019
Merged

Conversation

ryanrath
Copy link
Contributor

@ryanrath ryanrath commented May 2, 2019

Description

The previous SQL statement answered the question, Is there a $realm that has
been installed. This updated version answers the question, Is there an acl that
grants access to this realm. This corresponds w/ having an entry in
roles.json#<role>#query_descripters w/ a realm property = $realm, that is
both enabled and visible.

Motivation and Context

Get things working

Tests performed

Modified the bootstrap.sh file to only install the Jobs realm then ran the integration tests. The getDWDescripters tests failed as expected.

Did a fresh_install and nothing borked, weee.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

The previous SQL statement answered the question, Is there a $realm that has
been installed. This updated version answers the question, Is there an acl that
grants access to this realm. This corresponds w/ having an entry in
`roles.json#<role>#query_descripters` w/ a `realm` property = $realm, that is
both enabled and visible.
@ryanrath ryanrath changed the base branch from xdmod8.5 to xdmod8.1 May 2, 2019 18:34
@jtpalmer jtpalmer added this to the 8.1.2 milestone May 2, 2019
@jtpalmer jtpalmer added the bug Bugfixes label May 2, 2019
@ryanrath ryanrath merged commit 393571b into ubccr:xdmod8.1 May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants