Its super rare that you'd have a need to store comma-delimited data in a database. It implies your table setup isn't correct.
Its very difficult to do anything with comma-delimited data once its in a database field. So, instead of shoving it all in one field, you should think about adding another table which will store the relationship of those IDs your putting in the comma-delimited field.
For example, Table2 might just be:
Table2
uID | User |
1 | user1 |
2 | user2 |
3 | user3 |
(Notice "Access" has been removed)
Now setup an additional table. This table can be called access. It'll contain 2 fields. The uID from table 2 and the ID from table 1.
Access
uID | ID
1 | 2
1 | 3
2 | 1
2 | 2
2 | 3
2 | 4
3 | 5
Now you'll be able to easily query who has access to what. You'll want to look up inner join, left join, and one-to-one joins to make this all work (or ask more specific questions here).