[NO ISSUE] permission to delete execution

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Locked
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

[NO ISSUE] permission to delete execution

Post by angelagu93 »

Is there a way to give someone the permission to delete a test case that's been executed from Test Execution (notice I'm NOT trying to delete from Test Specification)?

Steps to replicate:

1. Go to Users/Roles
2. Click "admin"
3. Notice that under "Test Case Execution" you cannot check any of the boxes
4. Create new role (this will be a full permissions role)
5. Check the two boxes underneath "Test Case Execution"
6. Save
7. Notice that the check marks are not saved
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: permission to delete execution

Post by fman »

have you checked config_inc.php to understand if there is some config option available ?
have you tried some searches on forum ?
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: permission to delete execution

Post by angelagu93 »

I followed the steps here:

http://www.teamst.org/forum/viewtopic.php?f=11&t=7366

with executing the following statements on the database (using MSSQL)

INSERT INTO /*prefix*/rights (id,description) VALUES (35,'exec_edit_notes');
INSERT INTO /*prefix*/rights (id,description) VALUES (36,'exec_delete');
INSERT INTO /*prefix*/rights (id,description) VALUES (37,'testplan_unlink_executed_testcases');
INSERT INTO /*prefix*/rights (id,description) VALUES (38,'testproject_delete_executed_testcases');
INSERT INTO /*prefix*/rights (id,description) VALUES (39,'testproject_edit_executed_testcases');

I was able to save the checkboxes for the full permissions role I created, however, when I assigned that role to a user and tried to login as that user, I still could not delete executed test cases from the test plan. In the Add / Remove Test Cases page in test execution, when I hovered my mouse over the delete column for an executed test case, I get the message "Executed test cases cannot be deleted".

Thanks,


Angela
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: permission to delete execution

Post by angelagu93 »

Locked