Sullivan, James (NIH/CIT) [C] wrote:
The question I have is whether this will lead to
problems in the future, such as upgrade to version 1.17.0,
where the database user may be assumed to have ALL privileges.
Depends on what is needed on upgrade to that future version.
It's just a safeguard for the future.
In other words, during the upgrade of a wiki to
version 1.16.0, should update.php
grant the database user ALL privileges as part of its update of the
database,
so that the database user has the same privileges as a
newly installed
wiki's
database user? Or am I missing something and both
upgraded and freshly
created
database users do have the same privileges?
Giving extra rights on 1.16 upgrade would be no easier than doing it in
that future version, if it was allowed. Thus, the upgrade doesn't
unnecesarily try to enlarge the user rights, which are not currently needed.