Skip to content

fix(member-invite): Provide roles for admins using the invite modal#14989

Merged
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/fixmemberinvite-provide-roles-for-admins-using-the-invite-modal
Oct 10, 2019
Merged

fix(member-invite): Provide roles for admins using the invite modal#14989
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/fixmemberinvite-provide-roles-for-admins-using-the-invite-modal

Conversation

@evanpurkhiser

Copy link
Copy Markdown
Member

When a super user admining an organization loads the invite modal for that organization, they will be unable to load the roles list as the /me endpoint will 404.

When a super user admining an organization loads the invite modal for
that organization, they will be unable to load the roles list as the
`/me` endpoint will 404.
@evanpurkhiser evanpurkhiser requested review from a team and ceorourke October 8, 2019 18:54
// the members endpoint (primarily in cases where a user is admining a
// different organization they are not a OrganizationMember of ).
export const MEMBER_ROLES = [
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should the billing role be available as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's not in sentry 🤷‍♂

Honestly this should turn into an endpoint or soemthing to get all roles, for things to be more 'correct'

@evanpurkhiser evanpurkhiser merged commit f2534e2 into master Oct 10, 2019
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/fixmemberinvite-provide-roles-for-admins-using-the-invite-modal branch October 10, 2019 21:22
jan-auer added a commit that referenced this pull request Oct 14, 2019
* master: (405 commits)
  ref(ui): Add invite members panel (#15040)
  feat(dev): Add more post-merge suggestions (#15046)
  test(js): Fix console.errors from `<NarrowLayout>` (#15058)
  feat(apm): Display the op name for the top-level root span of the transaction. (#15057)
  perf(db): Cache positive/negative hits on Group being assigned during owner assignment. (#15049)
  chore(tagstore): Remove SnubaCompatibilityTagStorage (#15033)
  feat(api): Monkeypatch Django Migrations to have various safety features
  fix: Fix None-deref (#15052)
  perf(db): Get GroupSnooze from cache for notifactions hot path. (#15048)
  fix(ingest): Always count message towards batch (#15053)
  fix(event processing): Extend data scrubbing to all user attributes (#14812)
  fix(minidump): Catch msgpack TypeError (#15054)
  ref(signals): Process event_filtered and event_dropped in outcomes consumer exclusively (#15031)
  ref(ingest): Use batching-kafka-consumer (#15010)
  perf(db): Explicitly rebind Organization alongside Project. (#15041)
  feat(apm): Add APM for `<OrganizationDetails>` and `<ProjectsD… (#14960)
  ref(ui): Allow audit log filters to be cleared (#15038)
  py3(django): fix a few Django 1.9 deprecation warnings (#15025)
  ref(members): Disable roles that cannot be invited (#15037)
  fix(member-invite): Provide roles for admins using the invite modal (#14989)
  ...
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants