Traditional access control models which are based on identity are not adaptive in P2P environments, which characterize non-centralization, autonomy and dynamic characteristic.We analyzed the access control issue in P2P environments.The existing trust-based role access control lacks measures to distinguish users whose results from a trust model are same.We proposed trust-attribute-based access control to deal with this problem.Trust-attribute-based access control describes users and resources using user attributes and resource attributes.The model builds user role assignment using user attributes, the result from a trust model, environment attributes and authorization policy and builds role permission assignment using resource attributes and authorization policy.