Quick 72hrs!! TopCoder Competition Engine - Add Match Super User Role

Register
Submit a solution
The challenge is finished.

Challenge Overview

Project Overview

TopCoder Competition Engine is a system used for Single Round Matches (SRM) and Marathon Matches (MM).

Competition Task Overview

For this challenge, we'd like to add a new group of users, which can access the match management page in Web Arena.

Following are the changed requirements.

Database Changes

add a new group:

database informixoltp;

INSERT INTO 'informix'.group (group_id,group_desc,access_id) VALUES (60,'Web Arena Super User',null);

for testing, you can add ksmith user to this group.

INSERT INTO 'informix'.group_user VALUES (60,124861);

Entity Changes

Add a new boolean field called admin4Web to com.topcoder.netCommon.contestantMessages.UserInfo class.

Backend Services Changes

the main change should be inside com.topcoder.server.ejb.DBServices.DBServicesBean

pieces for method

getUser(Connection conn, int userID, boolean activeOnly)

should be updated correspondingly.

Listener Verification

for the arena applet/web arena, make sure this field is returned properly.

Verification

You can follow the SRM Problem Guide to carry out the standard verification process. Let me know if you need any more clarification.

About VMs

Before asking your own VM, you need to have a public key on your profile before asking for the VM.

You can find more details on how to generate a key http://apps.topcoder.com/wiki/display/projects/Generate+SSH+Key and how to connect using it http://apps.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.

Please reference http://apps.topcoder.com/wiki/display/docs/Competition+Engine+VM+Setup for general usage of Arena VM.

Previously, we have made several update for the Arena VM.  So when the Arena VM allocated is available for you, there is a problem and a SRM contest already setup, you can reuse that for testing.



Final Submission Guidelines

Submission Deliverables

Below is an overview of the deliverables:

  • new/changed files
  • Working VM environment for verification.

Final Submission

For each member, the final submission should be uploaded to the Online Review Tool.

ELIGIBLE EVENTS:

2015 topcoder Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30047206