Skip to content

feat: team owner can create private:admin access token#3039

Open
msmithstubbs wants to merge 1 commit intoLogflare:mainfrom
msmithstubbs:ui/create-admin-token
Open

feat: team owner can create private:admin access token#3039
msmithstubbs wants to merge 1 commit intoLogflare:mainfrom
msmithstubbs:ui/create-admin-token

Conversation

@msmithstubbs
Copy link
Contributor

@msmithstubbs msmithstubbs commented Dec 15, 2025

UI to allow team owner can create a private:admin access token.

CleanShot 2025-12-15 at 10 45 08@2x

This PR is the UI only. Access control for this token will be a subsequent PR.

Part of ANL-1251

@msmithstubbs msmithstubbs force-pushed the ui/create-admin-token branch 2 times, most recently from 7049aa6 to b37a048 Compare December 15, 2025 01:35
@msmithstubbs msmithstubbs marked this pull request as ready for review December 15, 2025 03:57
def parse_team_id(_), do: {:error, :invalid_team_id}

def team_owner?(%__MODULE__{team: team, user: user, team_user: nil}),
do: team_owner?(team, user.email)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we collocate the functions for better readability please


def parse_team_id(_), do: {:error, :invalid_team_id}

def team_owner?(%__MODULE__{team: team, user: user, team_user: nil}),
Copy link
Contributor

Choose a reason for hiding this comment

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

needs spec

@msmithstubbs msmithstubbs force-pushed the ui/create-admin-token branch from b37a048 to bb3f3af Compare January 4, 2026 19:56
@msmithstubbs msmithstubbs force-pushed the ui/create-admin-token branch from bb3f3af to a3cbe33 Compare January 12, 2026 22:16
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