strapi how to limit content added by user - strapi

I don't want users to add more than 3 content.
Example: I want to have demo users which will be able to add just 3 items in to things to do.
Payed customers will add with out any limit.
Is there a way to stop users adding new content after 3 content?
I need Roles with limited create content permissions.
Note: we'll be using api endpoint to add content
I couldn't find a way.

Solution: was to limit users from updating content in front-end.
https://strapi.io/documentation/3.0.0-beta.x/content-api/api-endpoints.html#create-an-entry
Thanks to #jim-laurie

Related

is there a way to make some pages accessible by certain logged in users only in Magento 2.4.4?

So I want to create page #1 as a content page in magento and I want only certain logged in users to be able to view this content not every logged in user
Thanks
As far as I can tell from your question, you wish to restrict access to certain pages and allow access only to a selection of users.
You could create Customer Groups and use an extension to assign certain pages only to certain customer groups.
Quick look around the interweb and I've found this extension: https://www.extensionhut.com/cms-page-by-customer-group-magento-2.html
(I have no experience of or connection with this company)
Good luck :)

Magento 2 - Transfer cart items from API to web store

I am creating a complex shopping configurator app that allows a user to customize and visualize a product which consists of multiple store items. Once they confirm their purchase, I iterate and add all of the selected products to a guest cart using the .../rest/V1/guest-carts API endpoint.
I would now like to forward the user to the store checkout to continue the purchasing process from the web store, e.g. https://store.url/checkout/cart. Of course, that basket needs to be populated with the items that were added via the API. I've looked through the documentation but not been able to find
anything relevant but I wonder if I can pass over the store_id or the quote_id and the relevant products be inserted accordingly?
Not sure if this is still relevant for you but, I was also working on a similar problem and came across this plugin for Magento 2. Basically what this plugin does is use a customer's token and a quote_id and creates a temporary session on the Magento2 Store and then redirect the user to the checkout page. This was a starting point for me, as I had to customize this plugin further to suit my requirements.
Hope this helps.

Create new pages from database entries?

I've created my first CRUD system for users to post, edit or delete a 'group listing'. These group listings are simply pages on my website where people can suggest meet up events.
I can't figured out how to create the individual web pages that will display the group details to the public?
What I want
Once a user creates a group, I need the system to show that group info on a fresh page (I guess using the ID in the url).
I'm using Laravel 5.8 and I am fairly new to coding. I appreciate and guidance!

Do TYPO3 have a user configuration cache?

I have been watching a strange issue that is making me think that TYPO3 has a sort of user configuration cache and don't know how to clean it.
The website has some users and some groups of users. There are some extensions to manage records on tables.
Some of the fields of those extensions are of type "group" to reference files.
The strange thing is that the old users in the same group don't see the upload button in those fields, but when create new users in the same group they do see the button.
There is no difference between the configuration of the old and new users.
What might be happening?
More Info:
They are BE users and the problem is in the Web->List view.
No special modules and no disabled_controls in the TCA for those fields.
It is also interesting that if I duplicate an old user, the duplicated one is not able to see the buttons, either.
Images
This is how the old users see the fields:
And, this is how the new users see the field:
I would expect, that there are Options in TSUser Config or in user settings are set.
Have a look in TSConfig of that Users and Usergroups:
setup.default.edit_docModuleUpload = 0
setup.override.edit_docModuleUpload = 0
Perhaps it is set in the user settings:

show specific content for each registered user in joomla 1.6

I am looking for a module/extension, or something that can help me to
make a page/item that only one specific user registered can see.
I would like also create a space dedicated to this user, where i can publish there pages and aticles.
Maybe using php and the variable that contains the username and an iframe, but I dont know how to doit.
Thank for the help
GMAccess is a Joomla! component that makes managing groups and access permissions easy, you will be able to create a special group and add your user (via Joomla's user management) to it and manage which pages can be viewed by that group.

Resources