Skip to content

Conversation

@landonreed
Copy link
Contributor

@landonreed landonreed commented Sep 25, 2019

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

In the user admin part of the application, only show the feed-specific permissions relevant for the enabled modules for the application instance. For example, if the alerts module is not enabled, do not show permissions relevant to editing/approving GTFS-rt alerts.

Only show the feed-specific permissions relevant for the enabled modules for the application
instance.
Copy link
Contributor

@evansiroky evansiroky left a comment

Choose a reason for hiding this comment

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

There are some linting errors that need fixing for Travis builds to pass.

@evansiroky evansiroky assigned landonreed and unassigned evansiroky Sep 26, 2019
@codecov-io
Copy link

Codecov Report

Merging #491 into dev will decrease coverage by 2.66%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             dev     #491      +/-   ##
=========================================
- Coverage     19%   16.34%   -2.67%     
=========================================
  Files        309      309              
  Lines      16423    15318    -1105     
  Branches    5031     4669     -362     
=========================================
- Hits        3122     2503     -619     
+ Misses     11486    10952     -534     
- Partials    1815     1863      +48
Flag Coverage Δ
#end_to_end_tests ?
#unit_tests 16.34% <0%> (+0.05%) ⬆️
Impacted Files Coverage Δ
lib/admin/components/permissions.js 0% <0%> (ø) ⬆️
lib/admin/components/ProjectAccessSettings.js 0% <0%> (-1.79%) ⬇️
lib/common/util/user.js 44.44% <0%> (-55.56%) ⬇️
lib/manager/components/HomeProjectDropdown.js 0% <0%> (-54.55%) ⬇️
lib/common/user/Auth0Manager.js 10.32% <0%> (-50.58%) ⬇️
lib/public/containers/ActivePublicHeader.js 0% <0%> (-50%) ⬇️
lib/common/components/Login.js 50% <0%> (-50%) ⬇️
lib/common/containers/App.js 0% <0%> (-48.79%) ⬇️
lib/gtfs/actions/filter.js 0% <0%> (-44.83%) ⬇️
lib/manager/components/UserHomePage.js 0% <0%> (-42.56%) ⬇️
... and 212 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0736af8...e2a9ff4. Read the comment docs.

@landonreed landonreed assigned evansiroky and unassigned landonreed Oct 2, 2019
@landonreed
Copy link
Contributor Author

Could you approve this and merge, @evansiroky?

@evansiroky evansiroky merged commit 8ac42ef into dev Oct 4, 2019
@evansiroky evansiroky deleted the fix-user-permissions branch October 4, 2019 19:06
@landonreed
Copy link
Contributor Author

🎉 This PR is included in version 4.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants