nextcloud/lib/public
nfebe 58991b1b19 fix(sharing): Allow public share access for everyone
When a logged-in user accesses a public share link in the same browser,
the system was incorrectly checking if that user's groups were excluded
from creating link shares. This caused share not found errors for users
in excluded groups, even though public shares should be accessible to anyone
with the link.

The group exclusion setting (`shareapi_allow_links_exclude_groups`) is
intended to restrict share creation, not share access. Public shares
are meant to be anonymous and accessible regardless of the viewer identity
or group membership.

We now check the exclusion for the share creator and not the viewer.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-03 19:53:17 +01:00
..
Accounts fix: eslint errors fixed in vue file, IAccountManager since added, bluesky svg added to REUSE.toml file 2025-08-08 08:06:46 +00:00
Activity feat(activity): add bulk activity option 2025-08-14 11:31:47 +02:00
App chore: Move isAppCompatible and shouldUpgrade to the app manager 2025-08-18 16:18:38 +02:00
AppFramework fix(AppFramework): Check for responder existence 2025-11-12 10:46:36 +00:00
Authentication feat(auth): include the token entity in TokenInvalidatedEvent 2025-08-21 12:42:44 +02:00
BackgroundJob chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Calendar fix: iMip reply from outlook.com does not contain organizer property 2025-10-14 19:29:19 +00:00
Capabilities chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Collaboration chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Command fix(jobs): Limit command jobs to known cases 2025-11-05 11:05:36 +01:00
Comments Merge pull request #54664 from nextcloud/carl/port-away-execute-lib 2025-09-02 14:38:11 +02:00
Common/Exception chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Config feat(lexicon): remove limitation to store definition only on cli 2025-08-21 10:21:24 -01:00
Console feat: Add reserved options in a new OCP class so that applications know about them 2024-07-04 16:19:36 +02:00
Contacts chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ContextChat chore(ContextChat): add docblocks to ContentItem properties 2025-07-15 08:16:25 -07:00
Dashboard fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
DataCollector chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DB chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Diagnostics refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +02:00
DirectEditing chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Encryption fix: throw a better error if we can't get the encrypted header size 2025-05-09 22:33:45 +02:00
EventDispatcher fix: don't try to get fileid for non exising nodes when serializing events file 2025-06-27 20:52:32 +02:00
Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Federation fix(federation): remove background jobs when removing trusted servers 2025-08-27 12:28:15 +02:00
Files feat: emit an event when an S3 bucket is created 2025-11-26 08:18:09 +08:00
Files_FullTextSearch/Model refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +02:00
FilesMetadata chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
FullTextSearch chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
GlobalScale chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Group chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Http docs(http): Update return type for getBody 2025-06-30 11:50:10 +02:00
L10N refactor: add missing template implements where needed 2025-05-15 16:15:13 +02:00
LDAP chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Lock fix: better error message when trying to scan a folder that is already being scanned 2025-04-25 18:40:03 +02:00
Lockdown chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Log chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Mail feat(ocp): add email address validator 2025-08-14 18:34:36 +02:00
Migration feat(migration-attributes): set as Consumable 2025-09-04 09:02:00 +00:00
Navigation/Events feat(Navigation): emit dedicated event for loading additional entries 2024-12-18 12:50:11 +01:00
Notification feat: indicate reason for preloading notifications 2025-08-18 15:28:46 +02:00
OCM feat(ocm): split ocm discovery and capacities 2025-08-20 11:57:01 -01:00
OCS chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Preview chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Profile feat: add bluesky to accounts, show the same in profile edit and visibility option, in view profile and also in sharing tab 2025-08-08 08:06:45 +00:00
Profiler refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +02:00
Remote chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
RichObjectStrings chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Route fix: Deprecate action and actionInclude from routes and fix actionInclude 2025-06-05 17:58:53 +02:00
Search feat(unified-search): Use existing min search length config 2025-09-29 10:55:51 +02:00
Security fix: Remove more unused deprecated getters from IServerContainer 2025-05-16 10:48:05 +02:00
Session/Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Settings chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
SetupCheck feat: Make CheckServerResponseTrait public and provide as OCP\SetupCheck\CheckServerResponseTrait 2024-09-16 14:58:21 +02:00
Share fix(sharing): Allow public share access for everyone 2025-12-03 19:53:17 +01:00
SpeechToText feat(speech-to-text): SpeechToTextManager::transcribeFile calls TaskProcessingManager::runTask 2024-08-30 10:07:01 +02:00
Support chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
SystemTag feat(SystemTag): Add typed events for tag mapper events 2025-09-04 09:21:13 +00:00
Talk chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TaskProcessing fix(ai-apis): reject text inputs that are longer than 64K chars 2025-11-11 08:09:51 +00:00
Teams fix(team-api): get all teams details in a single request 2025-11-10 16:55:55 -01:00
Template fix: Use a dedicated Exception class for when a template is not found 2025-03-06 15:49:25 +01:00
TextProcessing chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
TextToImage chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Translation chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
User fix: Add missing interface from previous commit and update autoloaders 2025-01-14 13:16:51 +01:00
UserMigration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +02:00
WorkflowEngine chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
AutoloadNotAllowedException.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
BeforeSabrePubliclyLoadedEvent.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Color.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Constants.php chore(Constants): Sort by value 2025-04-30 14:20:12 +02:00
Defaults.php refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +02:00
Files.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
GroupInterface.php fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
HintException.php refactor: Replace __CLASS__ with ::class references 2024-09-15 21:40:55 +02:00
IAddressBook.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
IAddressBookEnabled.php fix(cardav): only show useres from enabled addressBooks in contacts menu 2025-03-17 11:56:34 +01:00
IAppConfig.php feat(lexicon): add note and key-details 2025-07-29 08:15:08 -01:00
IAvatar.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAvatarManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IBinaryFinder.php fix: use nc's binary finding logic for smb 2024-10-04 15:56:31 +02:00
ICache.php fix: set default TTL for APCu cache as per docs 2024-08-07 19:41:41 +02:00
ICacheFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificate.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificateManager.php feat(CertificateManager): Add option to specify the default certificates bundle path 2025-12-01 11:55:11 +01:00
IConfig.php docs(IConfig): fix wrong doc block type for $key on setAppValue 2025-08-18 13:24:18 +02:00
IContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICreateContactFromString.php feat(ocp): create contacts from string 2025-08-29 15:04:57 +02:00
IDateTimeFormatter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
IDateTimeZone.php feat(IDateTimeZone): allow to fetch timezone of specified user 2025-08-18 14:26:52 +02:00
IDBConnection.php fix(query-builder): Don't catch UniqueConstraintViolationException 2025-09-02 11:55:58 +02:00
IEmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSource.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroup.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroupManager.php feat(users): Add support for admin delegation for users and groups management 2024-07-22 17:17:35 +02:00
IImage.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
IInitialStateService.php fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +02:00
IL10N.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ILogger.php chore: Remove deprecated ILogger logging functions 2024-09-19 00:37:06 +02:00
Image.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
IMemcache.php feat: add negative compare-and-delete to imemcache 2024-08-20 19:34:28 +02:00
IMemcacheTTL.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
INavigationManager.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
IPhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IPreview.php fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled 2025-06-02 15:50:53 +02:00
IRequest.php fix(OCS): Add IRequest::getFormat to determine the response Content-Type the same way everywhere 2025-08-26 09:50:03 +02:00
IRequestId.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IServerContainer.php fix: Remove more unused deprecated getters from IServerContainer 2025-05-16 10:48:05 +02:00
ISession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IStreamImage.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITagManager.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ITags.php fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +00:00
ITempManager.php refactor(TempManager): Simplify and unify implementations and remove legacy behavior 2025-03-03 11:11:12 +01:00
IURLGenerator.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
IUser.php feat(IUser): add getQuotaBytes method to get machine readable quota 2025-05-22 12:50:38 +02:00
IUserBackend.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IUserManager.php fix(IUserManager): Fix deprecation of search method 2025-10-02 09:21:42 +02:00
IUserSession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreConditionNotMetException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SabrePluginEvent.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
SabrePluginException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php chore: Adjust OCP\Server::get annotation to work with phpstan 2025-02-19 16:50:16 +01:00
ServerVersion.php fix: Properly read updater channel before returning version channel as a fallback 2025-01-24 14:49:58 +01:00
Share.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share_Backend.php chore: Remove deprecated Share_Helper::generateTarget $exclude parameter 2024-09-20 00:51:00 +02:00
Share_Backend_Collection.php chore: fix some comments 2024-07-29 14:43:27 +08:00
Share_Backend_File_Dependent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Template.php chore!: remove legacy functions from OC_Helper deprecated before v10 2025-05-16 22:57:50 +02:00
UserInterface.php fix: rebased the branch with master and resolved conflicts 2024-07-08 15:42:55 +05:30
Util.php chore: move implementation to non-deprecated OCP\Util from OC_Helper 2025-05-16 10:56:58 +02:00