Skip to content

Commit cdbf316

Browse files
committed
refactor(rbac): remove role-dropping changes from scope-seeding branch
1 parent 5f8f0e9 commit cdbf316

File tree

23 files changed

+341
-1216
lines changed

23 files changed

+341
-1216
lines changed

alembic/versions/4bb7e59026f3_drop_role_from_membership_and_.py

Lines changed: 0 additions & 247 deletions
This file was deleted.

frontend/src/app/invitations/accept/page.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ function AcceptInvitationContent() {
201201
<>
202202
<strong>{invitation.inviter_name}</strong> has invited you to
203203
join <strong>{invitation.organization_name}</strong> as a{" "}
204-
<strong>{invitation.role_name}</strong>.
204+
<strong>{invitation.role}</strong>.
205205
</>
206206
) : (
207207
<>
208208
You&apos;ve been invited to join{" "}
209209
<strong>{invitation.organization_name}</strong> as a{" "}
210-
<strong>{invitation.role_name}</strong>.
210+
<strong>{invitation.role}</strong>.
211211
</>
212212
)}
213213
</CardDescription>
@@ -224,7 +224,7 @@ function AcceptInvitationContent() {
224224
<div className="flex justify-between">
225225
<span className="text-muted-foreground">Role</span>
226226
<span className="font-medium capitalize">
227-
{invitation.role_name}
227+
{invitation.role}
228228
</span>
229229
</div>
230230
{invitation.inviter_email && (
@@ -320,12 +320,12 @@ function AcceptInvitationContent() {
320320
{invitation.inviter_name ? (
321321
<>
322322
<strong>{invitation.inviter_name}</strong> has invited you to join
323-
this organization as a <strong>{invitation.role_name}</strong>.
323+
this organization as a <strong>{invitation.role}</strong>.
324324
</>
325325
) : (
326326
<>
327327
You&apos;ve been invited to join this organization as a{" "}
328-
<strong>{invitation.role_name}</strong>.
328+
<strong>{invitation.role}</strong>.
329329
</>
330330
)}
331331
</CardDescription>
@@ -341,9 +341,7 @@ function AcceptInvitationContent() {
341341
</div>
342342
<div className="flex justify-between">
343343
<span className="text-muted-foreground">Role</span>
344-
<span className="font-medium capitalize">
345-
{invitation.role_name}
346-
</span>
344+
<span className="font-medium capitalize">{invitation.role}</span>
347345
</div>
348346
{invitation.inviter_email && (
349347
<div className="flex justify-between">

0 commit comments

Comments
 (0)