so I added
"conflict": {
"drupal/drupal": "*",
"twig/twig": "3.14.1"
},
to my composer.json.
This seems to work, I do not get the error, when trying to add new content.
Thanks
How can I pin twig/twig to 3.14.0?
I am using Drupal 10 via Docker container with Dockerfile:
...
FROM drupal:10.2.3-php8.3-apache-bullseye
...
git apply --index search-api-solr-fatal-error-declaration-of-sleep-3449292-12.patch
error: src/Plugin/search_api/backend/SearchApiSolrBackend.php: does not exist in index
error: src/SolrConnector/SolrConnectorPluginBase.php: does not exist in index
#5 I read some of these hits and they were using additional modules to manage permissions.
#6 Yes
After some further deeper investigation I could find out that the 'incorrect permissions' were only set in user.role.editor.yml. I removed them from the role definitions and it seem to work now.
olkoeller → created an issue.
Some of the content like News and Date, the Editor can create, uses mediatypes, where e.g. pdf-files or docx-files can be uploaded.
So there is a mediatype 'Datei Volltextsuche' for pdf and a mediatype 'Dokument' for the docx.
The permission rights as an Editor for these Media types are:
Create new media,
Edit any media,
Edit own media,
Update own media
The permission rights as an Editor for content types like News and Date are:
Create new content,
Edit any content,
Edit own content,
Revert revisions,
View revisions,
Administer content,
Revert all revisions
View all revisions
To test the functionality of my site I have set up several cypress tests for creating and deleting content and uploaded files to be sure that the main features are working.
I have also added tests that use the file_fancy_delete list to delete uploaded files. For those tests the test logs in as the admin. When creating content the test logs in as an Editor with the above described permission rights.
This was working fine for several month. In the meantime I did the drupal core and module updates and from some day these tests for deleteing uploaded files were failing.
So I tried to delete the files manually and recognised that it doesn't work any more.
For some reason the deleting with FID Numbers on tab Manual is working as expected, regardless if the file is in use or not.
So deleting the files on tab list is not working for me wether if the files are still in use or if I delete the content and the media types so that the files are not in use any more.
The latter has always worked well with my cypress tests using the tab list.
What am I doing wrong.
Hi Joseph,
I think it's not a permission thing because I can delete via Tab Manual filling in the file ids without any problem. But this was working the same checking the files in the List view on Tab List.
olkoeller → created an issue.
What about the LDAP_SSO module? I have a project in preperation were I need both, LDAP and LDAP_SSO.