TestLink - Development -How to - 20110401-01 - new right

68 views
Skip to first unread message

Francisco Mancardi

unread,
Apr 1, 2011, 2:30:32 PM4/1/11
to testlink-dev
How to add a new right
===============================================

example 'req_relations_management'

1. create record on rights table
For ID=> leave system assign it
Description -> req_relations_management

2. create in strings.txt
$TLS_desc_req_relations_management = 'Requirements relationships';

3. edit
roles.inc.php

add to appropriate $g_rights_*  variable

All has to work at least to create a role with the new right.

Work to use the new right has to be done on different pages.


Reply all
Reply to author
Forward
0 new messages