-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: discussionA general discussion issueA general discussion issue
Description
Describe the bug
When renaming a collection, the permission is not renamed. Because this is happening, the endpoint for that collection is also not updated to reflect changes to the collection. In my example I created a collection named 'Blogs' but later renamed it 'Post'. Below are URLs for the collection.
Steps to reproduce the behavior
- Go to my old collection name
- Observe that an empty collection with a status code of 200 is provided
- Go to my new collection name
- Observe that a 404 status code is provided
Expected behavior
I expect that the permissions and endpoints be renamed to reflect the changes to the collection.
System
- Node.js version:
- NPM version: N/A
- Strapi version: N/A
- Database: Postgres
- Operating system: Ubuntu
Additional context
I installed strapi using the 1 click install on digital ocean.
Metadata
Metadata
Assignees
Labels
issue: discussionA general discussion issueA general discussion issue