Skip to content

fix: add eshe_instructor to allowedRoles [BB-7489] - #1

Merged
0x29a merged 1 commit into
opencraft-release/palm.1from
0x29a/bb7489/eshe-instructor-palm
Aug 20, 2023
Merged

fix: add eshe_instructor to allowedRoles [BB-7489]#1
0x29a merged 1 commit into
opencraft-release/palm.1from
0x29a/bb7489/eshe-instructor-palm

Conversation

@0x29a

@0x29a 0x29a commented Aug 19, 2023

Copy link
Copy Markdown

Port of 0x29a#1 to Palm.

eSHE Instructors can't view the gradebook without this.
@codecov

codecov Bot commented Aug 19, 2023

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (opencraft-release/palm.1@3644172). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                     Coverage Diff                      @@
##             opencraft-release/palm.1        #1   +/-   ##
============================================================
  Coverage                            ?   100.00%           
============================================================
  Files                               ?       122           
  Lines                               ?      1269           
  Branches                            ?       251           
============================================================
  Hits                                ?      1269           
  Misses                              ?         0           
  Partials                            ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@0x29a
0x29a merged commit 66e976b into opencraft-release/palm.1 Aug 20, 2023
@Agrendalath
Agrendalath deleted the 0x29a/bb7489/eshe-instructor-palm branch September 12, 2023 15:09
@Agrendalath

Copy link
Copy Markdown
Member

@0x29a, can we rename this branch from opencraft-release/palm.1 to opencraft-release/palm.1-eshe? This change is specific to the client, so we don't want anyone else to use it.

I'm asking because I just pushed the opencraft-release/palm.1-echo branch, which includes the @edx/frontend-platform version bump from 2.5.0 to ^4.2.0. An older version of the @edx/frontend-platform breaks the deployment when using a custom header/footer for the MFEs. Therefore, I considered calling that branch opencraft-release/palm.1 instead so everyone can use it.

@0x29a

0x29a commented Sep 13, 2023

Copy link
Copy Markdown
Author

@Agrendalath, sure, we can. This feature is gated, so other clients shouldn't notice any changes. We added it to our shared branch to avoid having a client-specific branch. Should I create a ticket for the next sprint to extract these changes to a separate branch?

@Agrendalath

Copy link
Copy Markdown
Member

@0x29a, ah, thanks for clarifying. If the allowedRoles are not visible anywhere in this MFE (outside of the source code), it's OK to keep it as-is.

@0x29a

0x29a commented Sep 13, 2023

Copy link
Copy Markdown
Author

@Agrendalath, yep, allowedRoles is used only to allow or block access to the gradebook depending on roles that some particular user posses.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants