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

Test execution permissions #212

Open
Saragu0 opened this issue Oct 9, 2013 · 2 comments
Open

Test execution permissions #212

Saragu0 opened this issue Oct 9, 2013 · 2 comments

Comments

@Saragu0
Copy link

Saragu0 commented Oct 9, 2013

I think it would be great to define restricted permissions to authorize a user as tester. This kind of user would be able to execute tests but couldn't create or modify test plans, test suites or test cases.

I've implemented it in my environment adding this section to init.rb:

    permission :execute_testcases, {
      'impasse_test_case' => [:index, :show, :list, :keywords],
      'impasse_test_plans' => [:index, :show, :list, :statistics],
      'impasse_requirement_issues' => [:index],
      'impasse_executions' => [:index, :get_list, :new, :edit, :destroy, :put],
      'impasse_execution_bugs' => [:new, :edit, :destroy, :upload_attachments],
      'impasse_screenshots' => [:show, :new, :destroy],
    }, :require => :member
@cforce
Copy link

cforce commented Oct 9, 2013

Please do a pull request to
https://github.com/cforce/redmine_impasse/tree/develop

Saragu0 added a commit to Saragu0/redmine_impasse that referenced this issue Feb 5, 2014
New permission definition (execute_testcases) to enable a user to execute tests but avoid create or modify test plans, test suites or test cases.
@Saragu0
Copy link
Author

Saragu0 commented Feb 5, 2014

Sorry for the delay. Not receiving notifications.

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

2 participants