nextcloud/lib/private
Oliver Salzburg 392a4dd68a
Use specific privileges when creating admin
Using the ALL shorthand can cause problems when not all privileges are available to the user.
For example, AWS RDS MariaDB/MySQL will not grant the initial user account on an instance the SUPER privilege.
While the user account is still valid for pretty much any task on the DB instance, it can not use the ALL shorthand when granting privileges to new users.
By supplying a specific set of privileges, we work around this limitation without sacrificing functionality.

Closes #16139

Signed-off-by: Oliver Salzburg <oliver.salzburg@gmail.com>
2019-07-16 10:26:25 +02:00
..
Accounts Add default values when parsing account data 2018-12-23 16:33:02 +01:00
Activity Set false as default for requirePNG 2019-02-18 00:13:02 +01:00
App Enable pre-releases for beta and daily channel 2019-04-08 15:23:44 +02:00
AppFramework Do not try to autoload built in types 2019-06-04 15:13:32 +02:00
Archive Cleanup some PHPDoc leftovers and unused variables 2019-03-06 15:43:56 +01:00
Authentication Make it possible to wipe all tokens/devices of a user 2019-07-09 13:57:04 +02:00
Avatar Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
BackgroundJob Fix integer background job id type error 2019-01-15 14:36:03 +01:00
Cache remove unneeded is_dir from file cache gc 2018-05-24 14:24:10 +02:00
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration Set type for access column on cacheAccessForCollection 2019-05-02 21:10:47 +02:00
Command Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Comments Allow guest mentions of talk to be parsed 2019-07-10 15:33:10 +02:00
Console Make sure maintenance mode is always casted to bool 2019-02-22 08:25:41 +01:00
Contacts/ContactsMenu Respect sharing enumeration config in contacts menu 2019-04-18 11:39:49 +02:00
DB Add event dispatcher to OCP 2019-06-25 10:02:27 +02:00
Dashboard include dashboard into core 2018-10-15 19:59:27 +02:00
Diagnostics Update license headers 2017-11-06 16:56:19 +01:00
Encryption list files which could not be decrypted 2018-12-14 12:00:49 +01:00
EventDispatcher Add event dispatcher to OCP 2019-06-25 10:02:27 +02:00
Federation According to the OCM specification the body needs to be JSON encoded 2019-02-19 17:32:01 +01:00
Files Use HTTP1.1 to read S3 objects 2019-07-10 11:42:22 +02:00
FullTextSearch Merge pull request #16399 from nextcloud/improvement/noid/fulltextsearch-simple-queries 2019-07-15 10:18:04 +02:00
GlobalScale Update license headers 2017-11-06 16:56:19 +01:00
Group group display name support (service level + ldap) 2019-05-27 12:03:05 +02:00
Hooks Fix PHP doc for API docs 2017-12-03 12:02:29 +01:00
Http Refactor getProxyUri 2019-04-16 21:13:29 +02:00
IntegrityCheck Remove empty lines 2019-07-04 09:38:30 +01:00
L10N Make the L10N loading lazy 2019-05-22 11:22:12 +02:00
Lock Code cleanup. 2019-03-21 11:42:00 +01:00
Lockdown Update license headers 2017-11-06 16:56:19 +01:00
Log fix class might be undefined 2019-05-08 10:04:19 +02:00
Mail changed order of methods 2019-02-26 00:24:46 +01:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
Migration Properly inject EventDispatched in BackgroundRepair 2019-03-22 10:29:36 +01:00
Notification Add strict type on Notifications tests 2019-06-13 14:58:38 +02:00
OCS Allow to skip retrieving from cache in the DiscoveryService 2018-04-18 19:18:34 +02:00
Preview Merge pull request #16307 from nextcloud/bugfix/noid/previewv1adapter-isAvailable 2019-07-09 13:37:07 +02:00
Remote Add some more tests for ocs remote api 2017-12-08 16:37:14 +01:00
Repair Merge pull request #15606 from nextcloud/fix/15605/add-catch-for-runtime-exception 2019-07-16 08:05:11 +02:00
RichObjectStrings Validate all rich objects not only the used ones 2018-11-23 12:39:02 +01:00
Route Make sure maintenance mode is always casted to bool 2019-02-22 08:25:41 +01:00
Search Update license headers 2017-11-06 16:56:19 +01:00
Security Add an event to edit the CSP 2019-07-08 20:35:15 +02:00
Session replace setcookie value with '' instead of null. 2018-09-06 20:34:16 +02:00
Settings Move OC\Settings\Admin and OC\Settings\Personal to actual settings 2019-05-30 12:49:47 +02:00
Setup Use specific privileges when creating admin 2019-07-16 10:26:25 +02:00
Share Deprecate legacy share code and cleanup some unused methods 2019-04-18 17:44:14 +02:00
Share20 Always set the display name for user shares 2019-07-03 21:34:18 +02:00
Support Add extendedSupport to Subscription 2019-06-17 16:36:23 +02:00
SystemTag Use the defined func()->count() instead of manual counting 2018-11-08 15:44:45 +01:00
Tagging Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Template Lock SCSS so we only run 1 job at a time 2019-07-12 16:18:02 +02:00
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User Add event dispatcher to OCP 2019-06-25 10:02:27 +02:00
legacy Merge pull request #15540 from nextcloud/bugfix/noid/prevent-faulty-logs-from-nested-setupFS-calls 2019-06-21 12:00:22 +02:00
AllConfig.php Add methods to get casted system values 2019-02-22 08:25:41 +01:00
AppConfig.php using isset() 2018-02-05 10:50:32 +01:00
CapabilitiesManager.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
Color.php Fix autoloader 2018-04-12 16:24:44 +02:00
Config.php Remove deleteFromOpcodeCache & clearOpcodeCache 2019-01-30 17:36:14 +01:00
ContactsManager.php Allow access to addressbook unique uri 2019-01-22 10:03:56 +01:00
DatabaseException.php Remove unneeded parameter in DatabaseException 2017-07-24 13:44:12 +02:00
DatabaseSetupException.php
DateTimeFormatter.php Update license headers 2017-11-06 16:56:19 +01:00
DateTimeZone.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
ForbiddenException.php
HintException.php Update license headers 2017-11-06 16:56:19 +01:00
InitialStateService.php Add a key parameter to the new initial state API 2019-01-30 16:08:08 +01:00
Installer.php Run repair steps when enabling an app that has already been installed 2019-06-05 13:52:46 +02:00
LargeFileHelper.php Make LargeFileHelper.php faster by avoiding execs as much as possible 2018-05-17 14:28:32 +02:00
Log.php Allow crash reporters to catpture any message 2019-05-09 14:06:44 +02:00
MemoryInfo.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSort.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
NaturalSort_DefaultCollator.php
NavigationManager.php Generate id for navigation item 2019-02-25 14:49:51 +01:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Allow IProviderV2 for previews as well 2019-07-05 13:57:46 +02:00
PreviewNotAvailableException.php
RedisFactory.php Allow redis cluster to use password 2019-05-22 12:19:07 +02:00
Repair.php Add enterprise logo 2019-07-15 16:45:53 +02:00
RepairException.php
Search.php Removed deprecated search function from ISearch 2018-01-13 19:27:25 +01:00
Server.php Merge pull request #15730 from nextcloud/enh/14179/event_for_csp 2019-07-09 10:59:15 +02:00
ServerContainer.php Do not try to autoload built in types 2019-06-04 15:13:32 +02:00
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php Allow to access source maps on apache 2019-06-19 09:54:49 +02:00
Streamer.php Use zip32 only if there are less than 65536 files 2018-04-06 15:59:30 +02:00
SubAdmin.php Expose subadmin to OCP 2019-01-29 20:47:35 +01:00
SystemConfig.php Merge pull request #7020 from Fiech/master 2017-11-07 10:27:53 +01:00
TagManager.php
Tags.php Check if the favorite tag exists 2018-07-26 15:33:26 +02:00
TempManager.php Update license headers 2017-11-06 16:56:19 +01:00
TemplateLayout.php Fix "Undefined index: user_uid" on login page 2019-02-22 08:33:32 +01:00
URLGenerator.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00
Updater.php Block install without CAN_INSTALL file 2019-04-11 09:32:33 +02:00