pnp / pnp/sp-dev-fx-controls-react
Security trimming teampicker control
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
[x] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ latest ]
teampicker should be able to filter teams based on a users permissions in the team
Observed Behavior
teampicker is not able to filter teams based on a users permissions in the team
Steps to Reproduce
filter teams based on a users permissions in the team
Hey, im working on an spfx list vie command set that will let users add a selected Sharepoint library folder or item as a tab in teams. I need users to be able to only select teams if they have permission to add tabs.
If anyone has time to work on this that would be great. Otherwise I can work on this piece once i get everything else done.
Russell
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the teampicker control and its team-loading entry point, then review how the SPFx Teams integration exposes a user's permissions. Done means users can select only teams where they have permission to add tabs, while inaccessible teams are filtered out. Validate the behavior against users with different team permissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- authorization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100