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
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
Files_FullTextSearch/Model refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +07:00
FullTextSearch
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
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
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
Share fix(sharing): Allow public share access for everyone 2025-12-03 19:53:17 +07:00
SpeechToText
Support
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
TextProcessing
TextToImage
Translation
User
UserMigration
UserStatus
WorkflowEngine chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
AutoloadNotAllowedException.php
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
HintException.php
IAddressBook.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
IAddressBookEnabled.php
IAppConfig.php feat(lexicon): add note and key-details 2025-07-29 08:15:08 +07:00
IAvatar.php
IAvatarManager.php
IBinaryFinder.php
ICache.php
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
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
IInitialStateService.php fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +07:00
IL10N.php
ILogger.php
IMemcache.php
IMemcacheTTL.php
INavigationManager.php
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
ITags.php fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +07:00
ITempManager.php
IURLGenerator.php
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
PreConditionNotMetException.php
SabrePluginEvent.php
SabrePluginException.php
Server.php
ServerVersion.php
Share.php
Share_Backend.php
Share_Backend_Collection.php
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