A
A
Anton Natarov2016-01-12 16:29:33
Yii
Anton Natarov, 2016-01-12 16:29:33

When to use DbManager and when to use PhpManager?

Previously, I created it on PhpManager and wrote all the roles to a file, as well as all the assignments (Assign) of the role to the user. To what extent is this correct? As I understand it, if there are 1000+ users, then all these users will be in the files. Or even with large volumes of users, the size of such a file is not significant for hosting, for example, 5 GB?
Did it out of the urge 'fewer database queries' === 'good.' How do you go about your projects?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Makarov, 2016-01-12
@HanDroid

If there are not many users and the RBAC hierarchy is more or less static, the files. Otherwise base.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question