Skip to content

Protected resources by fe_user #11

Answered by klamparski
oliverkroener asked this question in Q&A
Discussion options

You must be logged in to vote

@okroener As I understand you do not want to completely disable access to endpoint but rather include in response collection only records which matches specific criteria?

We use for that build-in TYPO3 enablecolumns feature (https://docs.typo3.org/m/typo3/reference-tca/master/en-us/Ctrl/Index.html#enablecolumns) because that is the only way which makes sure that records won't be visible not only in API but in whole FE.

If you would like to keep records visible in other places in FE but hidden in API then solution is not yet implemented in t3api but indeed we plan to implement that in future as it seems to be useful.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kszymukowicz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #11 on December 30, 2020 21:10.