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