@saooti/octopus-sdk 41.10.8 → 41.10.9

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 41.10.9 (01/06/2026)
4
+
5
+ **Fixes**
6
+
7
+ - **14539** - Ajout droits pour accès règles RSS
8
+
3
9
  ## 41.10.8 (29/05/2026)
4
10
 
5
11
  **Fixes**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "41.10.8",
3
+ "version": "41.10.9",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -193,6 +193,16 @@ export const useRights = () => {
193
193
  return roleContainsAny('ADMIN', 'ORGANISATION');
194
194
  }
195
195
 
196
+ /** Can read/edit RSS rules */
197
+ function canReadRSSRules(): boolean {
198
+ return roleContainsAny('ADMIN', 'ORGANISATION', 'PRODUCTION');
199
+ }
200
+
201
+ /** Can edit RSS rules */
202
+ function canEditRSSRules(): boolean {
203
+ return canReadRSSRules();
204
+ }
205
+
196
206
  return {
197
207
  // Emissions
198
208
  canCreateEmission,
@@ -224,6 +234,10 @@ export const useRights = () => {
224
234
  canEditAggregator,
225
235
  canDeleteAggregator,
226
236
 
237
+ // RSS Rules
238
+ canReadRSSRules,
239
+ canEditRSSRules,
240
+
227
241
  // Other
228
242
  canEditCodeInsertPlayer,
229
243
  canEditTranscript,