files.com 1.1.627 → 1.1.628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30f032ab26677bfa7374fcf39a13d1ee7f76db399fb8894ec70141f1faecf71e
4
- data.tar.gz: a7ad8780d246773d28c738862ead421a7c5c30eaaa0c4fd79340293cbb4e8068
3
+ metadata.gz: 1d492bd253920c46a078cbe2a6d105e59a01bd4fb407dbad0f79644f4281c70a
4
+ data.tar.gz: d0ada6b4f1f2f6e1a579d974856f2a5c7a4b593ed50a703a540121b4fce5d747
5
5
  SHA512:
6
- metadata.gz: d68d076935968bd0372cd342935feecd8dd96cbfc37284ecc6cca1bb4bcd8c77e3c486c007b41f70e384459b816fa52541d5160f20bbc6e73ba7e5d86b9a1799
7
- data.tar.gz: f23b69c3ff544c963d38ac75b8a45d8f2bc4bd0e6c59634f9f77130bb9c73e87675e9a4876b84c6685be2f5664b65a126171f06b08c60451b4e9f8f60afecd09
6
+ metadata.gz: 40938227eb0f1ebe31d4a7c6664477e4b228164acda255d801228505b61808b23c9f5c3cfd487cb2f3e782c213838c7e1963d5bf13a19c20de7431fe5d3c7d2a
7
+ data.tar.gz: 30c0ad8c052c8f228e5830596f6a5f05596c9e51351685dcd6b350318467bb2963a761454b3a92bcd83399a92079f06901a302384df31b3134322eb7099e6747
data/README.md CHANGED
@@ -398,6 +398,39 @@ For example, the following two paths are treated as equivalent after NFC normali
398
398
 
399
399
  <div></div>
400
400
 
401
+ ## Workspaces
402
+
403
+ A Workspace is a lightweight way to organize related resources inside a single Files.com Site.
404
+
405
+ Customers commonly group resources by project, department, client, or region. Workspaces provide a built-in structure for that grouping, so the UI can operate within a clear "workspace context" and admins can delegate management for a subset of resources without requiring full site-level isolation.
406
+
407
+ Every Site has an implicit Default workspace (ID `0`). Resources that are not explicitly assigned to a named workspace are considered part of the Default workspace.
408
+ <div></div>
409
+
410
+ ### SDK Support
411
+
412
+ We are still in the process of adding Workspaces support to each SDK. If you require Workspaces support right now, you need to use the REST API.
413
+ <div></div>
414
+
415
+ ### Using Workspaces with the REST API
416
+
417
+ To use Workspaces with the REST API, send the following request header:
418
+
419
+ ```http
420
+ X-Files-Workspace-Id: <workspace_id>
421
+ ```
422
+
423
+ This changes path mapping and "what you're looking at."
424
+
425
+ When the `X-Files-Workspace-Id` header is provided:
426
+
427
+ - List, show, update, and delete operations are constrained to that workspace for workspace-scoped models.
428
+ - Create operations default `workspace_id` to the scoped workspace when not explicitly provided.
429
+ - Attempts to provide a mismatching `workspace_id` are rejected with `not-authorized/insufficient-permission-for-params`.
430
+
431
+ This header only works for sitewide keys, or keys related to users with permissions to more than one workspace.
432
+ <div></div>
433
+
401
434
  ## Foreign Language Support
402
435
 
403
436
  The Files.com Ruby SDK supports localized responses by using the `Files.language` configuration attribute.
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.627
1
+ 1.1.628
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.627"
4
+ VERSION = "1.1.628"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.627
4
+ version: 1.1.628
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com