Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have been setting up the ejournal module and am trying to setup users that fit the role of ejournal admin, ejournal author, editor, and reviewer. It does not seem to work as expected. Is there a document/notes that explains how to setup the roles and users and what one can expect them to do. Any help will be appreciated.
Comment | File | Size | Author |
---|---|---|---|
#2 | permissions.htm_.txt | 157 KB | emoryuser |
Comments
Comment #1
romca CreditAttribution: romca commentedHi,
there is no info yet, what is the behaviour you would expect (in you current situation)?
to set the roles:
create drupal groups(admin, editor etc)
to each group assign the rights of (ejournal-editor, chief-editor etc)
put the individual users into the specific group (as of the point 1 above)
The ejournalaccess is there to handle situationn before and after the issues was published.
Do you use some other access module?
Comment #2
emoryuser CreditAttribution: emoryuser commentedI have done exactly as mentioned above. For example,
Created author group, gave permissions of e-journal-2-author
assigned testauthor user to the author group.
I expected that the testauthor could create and edit one's own content. But after creating the content, testauthor could not access own content. I had to enable node access permissions to get it working. I have attached my permissions file so that you could take a look at it. My assumption is that by just assigning author to ejournal-author tab would have given all the necessary permissions to the user. Similarly with the editor, and reviewer roles. Is that assumption wrong?
Thanks
Comment #3
romca CreditAttribution: romca commentedEmory,
The ejournal (default situation) set the default access rights for the author to be view=1, update=0, delete=0 before and even after the issue publication.
There was a bug with form passing, so that you could not override the default values. Now it is possible, please grab the new ejournalaccess.module (I advise you to get the new dev release, as I made quite some important fixes today)
as a bynote:
I would recommend installing devel module, that will help you to see the access settings (it is a very useful module, it can help you in normal life too)
When you activate the devel-permission block, the devel module shows these entries below the newly created article:
node realm gid view update delete explained
test ejrn 1 1 1 1
test ejrn 2 1 1 0
test ejrn 3 1 1 0
test ejrn 5 1 0 0
test ejrn 6 1 0 0
The author is in the group no 5 (for description of other gid see the ejournalacess.module) and ejournal is using standard drupal access table. This entry means that author can view, but not update and delete the article. Can you verify your entries, it is strange the author could not view it.
to set the access rules, go to: /admin/settings/ejournal/access/
set your own values for the different groups
and rebuild the rights
best,
Comment #4
romca CreditAttribution: romca commented