This avoids a query every time the the list of global action tags is needed (every page load for access control entries and action tag memberships). Move the Model#freeze definition from ActionType to ResourceMethods, as any model using ResourceMethods should precalculate the ubid before being frozen, otherwise #ubid would break for the model.
2.6 KiB
2.6 KiB