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

Document current approach to creating API endpoints in the CMS #422

Closed
maxime-rainville opened this issue Dec 14, 2023 · 2 comments
Closed
Assignees

Comments

@maxime-rainville
Copy link
Contributor

maxime-rainville commented Dec 14, 2023

Acceptance criteria

  • Common approach to creating CMS endpoints in the CMS are identified and documented.
  • Common pitfall (e.g. permissions check, error handling) are called out.

Related

Follow up card

  • Document explains how to create Form Schema (Maybe spin up as a separate card and go into the JS part as well.)

Notes

  • private static string $required_permission_codes = 'CMS_ACCESS_CMSMain'; is required on LinkFieldController so that non-admins can access endpoints, so possibly this is general a requirement for all controllers that extend LeftAndMain

PRs

@GuySartorelli
Copy link
Member

Assigning back to Steve to do whatever needs done with the linkfield PR (haven't looked at it yet)

@GuySartorelli
Copy link
Member

PRs merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants