servicestackservicestack-auth

UserAuthRole created even if UseDistinctRoleTables is false


When not using separate table for Role, e.g. UseDistinctRoleTables=false why is UserAuthRole table still created? I checked the source code, which has if-clauses for UseDistinctRoleTables many places, but not in InitSchema().

It is confusing to have empty tables that are not in use. Is there a purpose, or could this be changed?


Solution

  • Yeah it's not necessary for it to be generated which has been resolved from this commit.

    This change is available from the latest v5.11.1 that's now available on MyGet.