Any issues with having tens of thousands of roles? 100,000?

I’m investigating what might be an unusual use case. I won’t go into the details unless necessary, but short story is that I’d like to create tens of thousands, in time likely hundreds of thousands of roles. Essentially I’m storing “projects” in Elasticsearch and for each project I’m interested in defining roughly 20 roles. It would be unusual for a user to have more than 100 roles assigned to them.

Would this present any scaling issues in the security model? Is this beyond what it was designed to handle?

Any insights are appreciated. Thanks!

–Ryan