Write automatic test to ensure that our permissions works as designed:

Scenario 1:

  • Enable required modules
  • Create a user with insufficient permissions
  • Try to navigate from frontpage to the configuration form
  • User should not be able to access

Scenario 2:

  • Enable required modules
  • Create a user with required permissions
  • Try to navigate from frontpage to the configuration form
  • User should be able to access

Comments

iMiksu created an issue. See original summary.

bhavikshah9’s picture

Assigned: Unassigned » bhavikshah9
bhavikshah9’s picture

Status: Active » Needs review
StatusFileSize
new2.12 KB

Here is the patch. Considered both scenarios mentioned above.

bhavikshah9’s picture

Would anybody like to review this?

imiksu’s picture

I'll probably have a look next monthly sprint I have, but it will take place in january. So I'm not yet assigned it to myself.

bhavikshah9’s picture

Hi @iMiksu,

My request in Comment#4 was in-general to all.
I am glad to know that you have considered this task to be reviewed in your next monthly sprint.
In that case, I will also complete one more pending task related to automated testing. So that, if time permits, you can review both of them in next monthly sprint.

Thanks for a quick reply.