πŸ‡©πŸ‡ͺGermany @olkoeller

Hessen
Account created on 9 March 2022, about 2 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany olkoeller Hessen

#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.

πŸ‡©πŸ‡ͺGermany olkoeller Hessen

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.

πŸ‡©πŸ‡ͺGermany olkoeller Hessen

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.

πŸ‡©πŸ‡ͺGermany olkoeller Hessen

What about the LDAP_SSO module? I have a project in preperation were I need both, LDAP and LDAP_SSO.

Production build 0.69.0 2024