Grid Security Infrastructure(GSI) is emerged for identify authentication,data confidentiality and integrity,but can not solve problems about access control well.Traditional model of access control can not satify security requirements of grid either.This paper describes a task-role based access control model for computing grid.The model defines authorization steps and system conditions,and the permissions can be dynamically controlled.The model is implemented in computing grid experimental platform,and is proved to be universal,flexible and extendable.