-
Notifications
You must be signed in to change notification settings - Fork 897
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
Script to copy reports access from group to role #18066
Merged
gtanzillo
merged 6 commits into
ManageIQ:master
from
yrudman:script-to-copy-report-for-ll-groups-in-role
Oct 11, 2018
Merged
Script to copy reports access from group to role #18066
gtanzillo
merged 6 commits into
ManageIQ:master
from
yrudman:script-to-copy-report-for-ll-groups-in-role
Oct 11, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yrudman
force-pushed
the
script-to-copy-report-for-ll-groups-in-role
branch
from
October 5, 2018 20:58
ec0a3df
to
99afe76
Compare
This comment has been minimized.
This comment has been minimized.
yrudman
force-pushed
the
script-to-copy-report-for-ll-groups-in-role
branch
from
October 8, 2018 15:34
99afe76
to
47e664f
Compare
yrudman
changed the title
[WIP] Script to copy reports access from group to role
Script to copy reports access from group to role
Oct 8, 2018
@miq-bot assign @gtanzillo |
@miq-bot remove-label wip |
- duplicate report structure from one group to another group - duplicate report structure from group to role, which means to each group having that role - remove cutomized report sructure from group - remove customized report structure from role, which means from each group having that role EXAMPLE: bundle exec ruby ./tools/copy_reports_structure -s EvmGroup -r SomeRole bundle exec ruby ./tools/copy_reports_structure -p SomeRole Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634673
yrudman
force-pushed
the
script-to-copy-report-for-ll-groups-in-role
branch
from
October 9, 2018 19:22
47e664f
to
dc2495f
Compare
gtanzillo
reviewed
Oct 10, 2018
…d help to write rspec
yrudman
force-pushed
the
script-to-copy-report-for-ll-groups-in-role
branch
from
October 11, 2018 19:10
f0b0b49
to
c675c6a
Compare
gtanzillo
approved these changes
Oct 11, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
simaishi
pushed a commit
that referenced
this pull request
Oct 12, 2018
…roups-in-role Script to copy reports access from group to role (cherry picked from commit a8f357d) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634673
Hammer backport details:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requested functionality:
Provide utility to duplicate customized report menu from some group to another group or role
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634673
Usage:
# help
bundle exec ruby ./tools/copy_reports_structure.rb --help
# copy reports menu from
EvmGroup
toSomeGroup
bundle exec ruby ./tools/copy_reports_structure.rb --source-group=EvmGroup --target-group=SomeGroup
# copy reports menu from
EvmGroup
to every group which hasSomeRole
bundle exec ruby ./tools/copy_reports_structure.rb --source-group=EvmGroup --target-role=SomeRole
# reset to default reports menu for
SomeGroup
bundle exec ruby ./tools/copy_reports_structure.rb --reset-group=SomeGroup
@miq-bot add-label enhancement