Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying permissions on Form Customizer #8372

Closed
legenam opened this issue Aug 16, 2022 · 8 comments
Closed

Applying permissions on Form Customizer #8372

legenam opened this issue Aug 16, 2022 · 8 comments
Labels
area:docs-comment Category: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/dev area:spfx Category: SharePoint Framework (not extensions related) status:fixed-next-drop Issue planned to be fixed in an upcoming release.
Milestone

Comments

@legenam
Copy link

legenam commented Aug 16, 2022

After implementing Form customizer on a SharePoint Online list, I identified that any instance shouldn't be created in any site where component neet to be user. The serve.json is the only link between component and list.
How should it work for permissions?
Currently, only admin or site collection owners can use it and I don't find any information about it for giving access to contributors?
How to solve it?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@ghost
Copy link

ghost commented Aug 16, 2022

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added Needs: Triage 🔍 Awaiting categorization and initial review. area:docs-comment Category: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/dev labels Aug 16, 2022
@AJIXuMuK
Copy link
Collaborator

@legenam - could you please describe you issue in more details?
What type of permissions are you referencing to? Who has access to the form or who can add the form customizer to the list/content type?

@AJIXuMuK AJIXuMuK added the Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. label Aug 16, 2022
@legenam
Copy link
Author

legenam commented Aug 17, 2022

@AJIXuMuK After deploying the solution on a site collection app catalog, defining permissions on this app and to the list linked to this component, a user with Contributor role received an access denied error wehn clikc on New or when try to edit an item.
When SPListForm.aspx is loaded the user doesn't seems to have enough right permissions.

NB: The Form has been linked through PowerShell Script. The site collection owner does'nt receive any error message and everything works fine.

@ghost ghost added Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. and removed Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. labels Aug 17, 2022
@AJIXuMuK
Copy link
Collaborator

@legenam - that seems weird. I've just tested the same scenario and have no issues.
Does a Contributor user have access to the site itself or to the list only?

@AJIXuMuK AJIXuMuK added area:spfx Category: SharePoint Framework (not extensions related) Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. and removed Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. Needs: Triage 🔍 Awaiting categorization and initial review. labels Aug 17, 2022
@legenam
Copy link
Author

legenam commented Aug 17, 2022

@AJIXuMuK The use is Visitor (Read-Only) on the site and has 'Collaborate' permission level on the list.

@ghost ghost added Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. and removed Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. labels Aug 17, 2022
@AJIXuMuK
Copy link
Collaborator

Thank you @legenam for the additional details.
The fix has been done. It will take few weeks though to be rolled out WW.

@AJIXuMuK AJIXuMuK added this to the server 08-23 milestone Aug 17, 2022
@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue planned to be fixed in an upcoming release. and removed Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. labels Aug 23, 2022
@AJIXuMuK
Copy link
Collaborator

this should be rolled out

@ghost
Copy link

ghost commented Oct 19, 2022

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:docs-comment Category: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/dev area:spfx Category: SharePoint Framework (not extensions related) status:fixed-next-drop Issue planned to be fixed in an upcoming release.
Projects
None yet
Development

No branches or pull requests

2 participants