apache / apache/polaris-tools

Console: principal scope should be configurable

Open
#99 1 comment 0 reactions 0 assignees View on GitHub
console enhancement
Dominant language
TypeScript
Stars
33
Forks
46
Avg merge
1d 4m
Merged PRs (30d)
2

Description

Currently, the Polaris scope is hard coded in `auth.ts`:

```
formData.append("scope", "PRINCIPAL_ROLE:ALL")
```

The scope should be configurable, probably in the form used for the login.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in auth.ts at the formData.append("scope", "PRINCIPAL_ROLE:ALL") call, then inspect the login form mentioned in the issue to determine where the value should be configured. Done means the console no longer hard-codes the Polaris scope and the login form can provide it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.