Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with user rights if author is adding a new submission #7

Closed
ajnyga opened this issue Sep 7, 2017 · 3 comments
Closed

Error with user rights if author is adding a new submission #7

ajnyga opened this issue Sep 7, 2017 · 3 comments

Comments

@ajnyga
Copy link
Owner

ajnyga commented Sep 7, 2017

The metadata form outputs an error for the author if the plugin is enabled.

@ajnyga
Copy link
Owner Author

ajnyga commented Sep 11, 2017

@ajnyga
Copy link
Owner Author

ajnyga commented Sep 11, 2017

Yes, that was the problem. @bozana, do you think that this would be too much?

		$this->addRoleAssignment(
			array(ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_ASSISTANT, ROLE_ID_AUTHOR),
			array('fetchGrid', 'fetchRow', 'addFunder', 'editFunder', 'updateFunder', 'deleteFunder')
		);

I think that the permissions there should be aligned with the general permissions to edit article metadata. Would that setting be alright then?

@ajnyga
Copy link
Owner Author

ajnyga commented Sep 12, 2017

I added the above: e9df383 so closing this issue

There is one more thing I am thinking here @bozana. In OJS3 the authors do not have access to edit metadata. However, I would believe that in this case the funding grid will still allow authors to edit the information after the submission is done.

But there is probably no way to controll this so that during the initial submission the author would have access, but later on not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant