@telos-dev-team/dealernode-permissions 1.1.9 → 1.1.11
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/dist/permissions.d.ts +5 -72
- package/dist/permissions.js +5 -72
- package/package.json +1 -1
- package/src/permissions.ts +5 -72
package/dist/permissions.d.ts
CHANGED
|
@@ -187,23 +187,8 @@ export declare const PERMISSIONS: {
|
|
|
187
187
|
readonly OPERATIONS: {
|
|
188
188
|
readonly VIEW: "deal.financed.operations.view";
|
|
189
189
|
readonly VIEW_MY_DEALS: "deal.financed.operations.view_my_deals";
|
|
190
|
-
readonly
|
|
191
|
-
readonly UPDATE: "deal.financed.operations.update";
|
|
192
|
-
readonly VALIDATE: "deal.financed.operations.validate";
|
|
193
|
-
readonly REVERT_VALIDATE: "deal.financed.operations.revert_validate";
|
|
194
|
-
readonly APPROVE: "deal.financed.operations.approve";
|
|
195
|
-
readonly REVERT_APPROVE: "deal.financed.operations.revert_approve";
|
|
190
|
+
readonly UPSERT: "deal.financed.operations.upsert";
|
|
196
191
|
readonly FUND: "deal.financed.operations.fund";
|
|
197
|
-
readonly REVERT_FUND: "deal.financed.operations.revert_fund";
|
|
198
|
-
readonly UPDATE_FUNDING_DATE: "deal.financed.operations.update_funding_date";
|
|
199
|
-
readonly DELETE: "deal.financed.operations.delete";
|
|
200
|
-
readonly TO_DEAD_DEAL: "deal.financed.operations.to_dead_deal";
|
|
201
|
-
readonly REVERT_TO_DEAD_DEAL: "deal.financed.operations.revert_to_dead_deal";
|
|
202
|
-
readonly TO_BUY_BACK: "deal.financed.operations.to_buy_back";
|
|
203
|
-
readonly REVERT_TO_BUY_BACK: "deal.financed.operations.revert_to_buy_back";
|
|
204
|
-
readonly TO_UNWIND: "deal.financed.operations.to_unwind";
|
|
205
|
-
readonly REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind";
|
|
206
|
-
readonly REFRESH: "deal.financed.operations.refresh";
|
|
207
192
|
readonly MANAGE: "deal.financed.operations.manage";
|
|
208
193
|
};
|
|
209
194
|
};
|
|
@@ -211,20 +196,8 @@ export declare const PERMISSIONS: {
|
|
|
211
196
|
readonly OPERATIONS: {
|
|
212
197
|
readonly VIEW: "deal.spot.operations.view";
|
|
213
198
|
readonly VIEW_MY_DEALS: "deal.spot.operations.view_my_deals";
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly APPROVE: "deal.spot.operations.approve";
|
|
217
|
-
readonly REVERT_APPROVE: "deal.spot.operations.revert_approve";
|
|
218
|
-
readonly TO_FINANCED: "deal.spot.operations.to_financed";
|
|
219
|
-
readonly REVERT_TO_FINANCED: "deal.spot.operations.revert_to_financed";
|
|
220
|
-
readonly TO_CASH: "deal.spot.operations.to_cash";
|
|
221
|
-
readonly REVERT_TO_CASH: "deal.spot.operations.revert_to_cash";
|
|
222
|
-
readonly TO_BHPH: "deal.spot.operations.to_bhph";
|
|
223
|
-
readonly REVERT_TO_BHPH: "deal.spot.operations.revert_to_bhph";
|
|
224
|
-
readonly DELETE: "deal.spot.operations.delete";
|
|
225
|
-
readonly TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal";
|
|
226
|
-
readonly REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal";
|
|
227
|
-
readonly REFRESH: "deal.spot.operations.refresh";
|
|
199
|
+
readonly UPSERT: "deal.spot.operations.upsert";
|
|
200
|
+
readonly TRANSFORM: "deal.spot.operations.transform";
|
|
228
201
|
readonly MANAGE: "deal.spot.operations.manage";
|
|
229
202
|
};
|
|
230
203
|
};
|
|
@@ -232,16 +205,7 @@ export declare const PERMISSIONS: {
|
|
|
232
205
|
readonly OPERATIONS: {
|
|
233
206
|
readonly VIEW: "deal.cash.operations.view";
|
|
234
207
|
readonly VIEW_MY_DEALS: "deal.cash.operations.view_my_deals";
|
|
235
|
-
readonly
|
|
236
|
-
readonly UPDATE: "deal.cash.operations.update";
|
|
237
|
-
readonly VALIDATE: "deal.cash.operations.validate";
|
|
238
|
-
readonly REVERT_VALIDATE: "deal.cash.operations.revert_validate";
|
|
239
|
-
readonly APPROVE: "deal.cash.operations.approve";
|
|
240
|
-
readonly REVERT_APPROVE: "deal.cash.operations.revert_approve";
|
|
241
|
-
readonly DELETE: "deal.cash.operations.delete";
|
|
242
|
-
readonly TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal";
|
|
243
|
-
readonly REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal";
|
|
244
|
-
readonly REFRESH: "deal.cash.operations.refresh";
|
|
208
|
+
readonly UPSERT: "deal.cash.operations.upsert";
|
|
245
209
|
readonly MANAGE: "deal.cash.operations.manage";
|
|
246
210
|
};
|
|
247
211
|
};
|
|
@@ -249,16 +213,7 @@ export declare const PERMISSIONS: {
|
|
|
249
213
|
readonly OPERATIONS: {
|
|
250
214
|
readonly VIEW: "deal.bhph.operations.view";
|
|
251
215
|
readonly VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals";
|
|
252
|
-
readonly
|
|
253
|
-
readonly UPDATE: "deal.bhph.operations.update";
|
|
254
|
-
readonly VALIDATE: "deal.bhph.operations.validate";
|
|
255
|
-
readonly REVERT_VALIDATE: "deal.bhph.operations.revert_validate";
|
|
256
|
-
readonly APPROVE: "deal.bhph.operations.approve";
|
|
257
|
-
readonly REVERT_APPROVE: "deal.bhph.operations.revert_approve";
|
|
258
|
-
readonly DELETE: "deal.bhph.operations.delete";
|
|
259
|
-
readonly TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal";
|
|
260
|
-
readonly REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal";
|
|
261
|
-
readonly REFRESH: "deal.bhph.operations.refresh";
|
|
216
|
+
readonly UPSERT: "deal.bhph.operations.upsert";
|
|
262
217
|
readonly MANAGE: "deal.bhph.operations.manage";
|
|
263
218
|
};
|
|
264
219
|
readonly PAYMENTS: {
|
|
@@ -312,14 +267,6 @@ export declare const PERMISSIONS: {
|
|
|
312
267
|
readonly OPERATIONS: {
|
|
313
268
|
readonly VIEW: "fail_deal.unwind.operations.view";
|
|
314
269
|
readonly VIEW_MY_DEALS: "fail_deal.unwind.operations.view_my_deals";
|
|
315
|
-
readonly PAY: "fail_deal.unwind.operations.pay";
|
|
316
|
-
readonly REVERT_PAY: "fail_deal.unwind.operations.revert_pay";
|
|
317
|
-
readonly DELETE: "fail_deal.unwind.operations.delete";
|
|
318
|
-
readonly UPDATE: "fail_deal.unwind.operations.update";
|
|
319
|
-
readonly ARRIVE: "fail_deal.unwind.operations.arrive";
|
|
320
|
-
readonly REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive";
|
|
321
|
-
readonly TO_REPO: "fail_deal.unwind.operations.to_repo";
|
|
322
|
-
readonly REFRESH: "fail_deal.unwind.operations.refresh";
|
|
323
270
|
readonly MANAGE: "fail_deal.unwind.operations.manage";
|
|
324
271
|
};
|
|
325
272
|
readonly FILES: {
|
|
@@ -346,29 +293,15 @@ export declare const PERMISSIONS: {
|
|
|
346
293
|
};
|
|
347
294
|
};
|
|
348
295
|
readonly OPERATIONS: {
|
|
349
|
-
readonly DELETE: "fail_deal.dead_deal.operations.delete";
|
|
350
296
|
readonly VIEW: "fail_deal.dead_deal.operations.view";
|
|
351
297
|
readonly VIEW_MY_DEALS: "fail_deal.dead_deal.operations.view_my_deals";
|
|
352
|
-
readonly UPDATE: "fail_deal.dead_deal.operations.update";
|
|
353
|
-
readonly ARRIVE: "fail_deal.dead_deal.operations.arrive";
|
|
354
|
-
readonly REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive";
|
|
355
|
-
readonly TO_REPO: "fail_deal.dead_deal.operations.to_repo";
|
|
356
|
-
readonly REFRESH: "fail_deal.dead_deal.operations.refresh";
|
|
357
298
|
readonly MANAGE: "fail_deal.dead_deal.operations.manage";
|
|
358
299
|
};
|
|
359
300
|
};
|
|
360
301
|
readonly BUY_BACK: {
|
|
361
302
|
readonly OPERATIONS: {
|
|
362
|
-
readonly PAY: "fail_deal.buy_back.operations.pay";
|
|
363
303
|
readonly VIEW_MY_DEALS: "fail_deal.buy_back.operations.view_my_deals";
|
|
364
|
-
readonly REVERT_PAY: "fail_deal.buy_back.operations.revert_pay";
|
|
365
|
-
readonly DELETE: "fail_deal.buy_back.operations.delete";
|
|
366
304
|
readonly VIEW: "fail_deal.buy_back.operations.view";
|
|
367
|
-
readonly UPDATE: "fail_deal.buy_back.operations.update";
|
|
368
|
-
readonly ARRIVE: "fail_deal.buy_back.operations.arrive";
|
|
369
|
-
readonly REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive";
|
|
370
|
-
readonly TO_REPO: "fail_deal.buy_back.operations.to_repo";
|
|
371
|
-
readonly REFRESH: "fail_deal.buy_back.operations.refresh";
|
|
372
305
|
readonly MANAGE: "fail_deal.buy_back.operations.manage";
|
|
373
306
|
};
|
|
374
307
|
readonly RESOURCES: {
|
package/dist/permissions.js
CHANGED
|
@@ -220,23 +220,8 @@ exports.PERMISSIONS = {
|
|
|
220
220
|
OPERATIONS: {
|
|
221
221
|
VIEW: "deal.financed.operations.view",
|
|
222
222
|
VIEW_MY_DEALS: "deal.financed.operations.view_my_deals",
|
|
223
|
-
|
|
224
|
-
UPDATE: "deal.financed.operations.update",
|
|
225
|
-
VALIDATE: "deal.financed.operations.validate",
|
|
226
|
-
REVERT_VALIDATE: "deal.financed.operations.revert_validate",
|
|
227
|
-
APPROVE: "deal.financed.operations.approve",
|
|
228
|
-
REVERT_APPROVE: "deal.financed.operations.revert_approve",
|
|
223
|
+
UPSERT: "deal.financed.operations.upsert",
|
|
229
224
|
FUND: "deal.financed.operations.fund",
|
|
230
|
-
REVERT_FUND: "deal.financed.operations.revert_fund",
|
|
231
|
-
UPDATE_FUNDING_DATE: "deal.financed.operations.update_funding_date",
|
|
232
|
-
DELETE: "deal.financed.operations.delete",
|
|
233
|
-
TO_DEAD_DEAL: "deal.financed.operations.to_dead_deal",
|
|
234
|
-
REVERT_TO_DEAD_DEAL: "deal.financed.operations.revert_to_dead_deal",
|
|
235
|
-
TO_BUY_BACK: "deal.financed.operations.to_buy_back",
|
|
236
|
-
REVERT_TO_BUY_BACK: "deal.financed.operations.revert_to_buy_back",
|
|
237
|
-
TO_UNWIND: "deal.financed.operations.to_unwind",
|
|
238
|
-
REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind",
|
|
239
|
-
REFRESH: "deal.financed.operations.refresh",
|
|
240
225
|
MANAGE: "deal.financed.operations.manage",
|
|
241
226
|
},
|
|
242
227
|
},
|
|
@@ -244,20 +229,8 @@ exports.PERMISSIONS = {
|
|
|
244
229
|
OPERATIONS: {
|
|
245
230
|
VIEW: "deal.spot.operations.view",
|
|
246
231
|
VIEW_MY_DEALS: "deal.spot.operations.view_my_deals",
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
APPROVE: "deal.spot.operations.approve",
|
|
250
|
-
REVERT_APPROVE: "deal.spot.operations.revert_approve",
|
|
251
|
-
TO_FINANCED: "deal.spot.operations.to_financed",
|
|
252
|
-
REVERT_TO_FINANCED: "deal.spot.operations.revert_to_financed",
|
|
253
|
-
TO_CASH: "deal.spot.operations.to_cash",
|
|
254
|
-
REVERT_TO_CASH: "deal.spot.operations.revert_to_cash",
|
|
255
|
-
TO_BHPH: "deal.spot.operations.to_bhph",
|
|
256
|
-
REVERT_TO_BHPH: "deal.spot.operations.revert_to_bhph",
|
|
257
|
-
DELETE: "deal.spot.operations.delete",
|
|
258
|
-
TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal",
|
|
259
|
-
REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal",
|
|
260
|
-
REFRESH: "deal.spot.operations.refresh",
|
|
232
|
+
UPSERT: "deal.spot.operations.upsert",
|
|
233
|
+
TRANSFORM: "deal.spot.operations.transform",
|
|
261
234
|
MANAGE: "deal.spot.operations.manage",
|
|
262
235
|
},
|
|
263
236
|
},
|
|
@@ -265,16 +238,7 @@ exports.PERMISSIONS = {
|
|
|
265
238
|
OPERATIONS: {
|
|
266
239
|
VIEW: "deal.cash.operations.view",
|
|
267
240
|
VIEW_MY_DEALS: "deal.cash.operations.view_my_deals",
|
|
268
|
-
|
|
269
|
-
UPDATE: "deal.cash.operations.update",
|
|
270
|
-
VALIDATE: "deal.cash.operations.validate",
|
|
271
|
-
REVERT_VALIDATE: "deal.cash.operations.revert_validate",
|
|
272
|
-
APPROVE: "deal.cash.operations.approve",
|
|
273
|
-
REVERT_APPROVE: "deal.cash.operations.revert_approve",
|
|
274
|
-
DELETE: "deal.cash.operations.delete",
|
|
275
|
-
TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal",
|
|
276
|
-
REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal",
|
|
277
|
-
REFRESH: "deal.cash.operations.refresh",
|
|
241
|
+
UPSERT: "deal.cash.operations.upsert",
|
|
278
242
|
MANAGE: "deal.cash.operations.manage",
|
|
279
243
|
},
|
|
280
244
|
},
|
|
@@ -282,16 +246,7 @@ exports.PERMISSIONS = {
|
|
|
282
246
|
OPERATIONS: {
|
|
283
247
|
VIEW: "deal.bhph.operations.view",
|
|
284
248
|
VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals",
|
|
285
|
-
|
|
286
|
-
UPDATE: "deal.bhph.operations.update",
|
|
287
|
-
VALIDATE: "deal.bhph.operations.validate",
|
|
288
|
-
REVERT_VALIDATE: "deal.bhph.operations.revert_validate",
|
|
289
|
-
APPROVE: "deal.bhph.operations.approve",
|
|
290
|
-
REVERT_APPROVE: "deal.bhph.operations.revert_approve",
|
|
291
|
-
DELETE: "deal.bhph.operations.delete",
|
|
292
|
-
TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal",
|
|
293
|
-
REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal",
|
|
294
|
-
REFRESH: "deal.bhph.operations.refresh",
|
|
249
|
+
UPSERT: "deal.bhph.operations.upsert",
|
|
295
250
|
MANAGE: "deal.bhph.operations.manage",
|
|
296
251
|
},
|
|
297
252
|
PAYMENTS: {
|
|
@@ -348,14 +303,6 @@ exports.PERMISSIONS = {
|
|
|
348
303
|
OPERATIONS: {
|
|
349
304
|
VIEW: "fail_deal.unwind.operations.view",
|
|
350
305
|
VIEW_MY_DEALS: "fail_deal.unwind.operations.view_my_deals",
|
|
351
|
-
PAY: "fail_deal.unwind.operations.pay",
|
|
352
|
-
REVERT_PAY: "fail_deal.unwind.operations.revert_pay",
|
|
353
|
-
DELETE: "fail_deal.unwind.operations.delete",
|
|
354
|
-
UPDATE: "fail_deal.unwind.operations.update",
|
|
355
|
-
ARRIVE: "fail_deal.unwind.operations.arrive",
|
|
356
|
-
REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive",
|
|
357
|
-
TO_REPO: "fail_deal.unwind.operations.to_repo",
|
|
358
|
-
REFRESH: "fail_deal.unwind.operations.refresh",
|
|
359
306
|
MANAGE: "fail_deal.unwind.operations.manage",
|
|
360
307
|
},
|
|
361
308
|
FILES: {
|
|
@@ -382,29 +329,15 @@ exports.PERMISSIONS = {
|
|
|
382
329
|
},
|
|
383
330
|
},
|
|
384
331
|
OPERATIONS: {
|
|
385
|
-
DELETE: "fail_deal.dead_deal.operations.delete",
|
|
386
332
|
VIEW: "fail_deal.dead_deal.operations.view",
|
|
387
333
|
VIEW_MY_DEALS: "fail_deal.dead_deal.operations.view_my_deals",
|
|
388
|
-
UPDATE: "fail_deal.dead_deal.operations.update",
|
|
389
|
-
ARRIVE: "fail_deal.dead_deal.operations.arrive",
|
|
390
|
-
REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive",
|
|
391
|
-
TO_REPO: "fail_deal.dead_deal.operations.to_repo",
|
|
392
|
-
REFRESH: "fail_deal.dead_deal.operations.refresh",
|
|
393
334
|
MANAGE: "fail_deal.dead_deal.operations.manage",
|
|
394
335
|
},
|
|
395
336
|
},
|
|
396
337
|
BUY_BACK: {
|
|
397
338
|
OPERATIONS: {
|
|
398
|
-
PAY: "fail_deal.buy_back.operations.pay",
|
|
399
339
|
VIEW_MY_DEALS: "fail_deal.buy_back.operations.view_my_deals",
|
|
400
|
-
REVERT_PAY: "fail_deal.buy_back.operations.revert_pay",
|
|
401
|
-
DELETE: "fail_deal.buy_back.operations.delete",
|
|
402
340
|
VIEW: "fail_deal.buy_back.operations.view",
|
|
403
|
-
UPDATE: "fail_deal.buy_back.operations.update",
|
|
404
|
-
ARRIVE: "fail_deal.buy_back.operations.arrive",
|
|
405
|
-
REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive",
|
|
406
|
-
TO_REPO: "fail_deal.buy_back.operations.to_repo",
|
|
407
|
-
REFRESH: "fail_deal.buy_back.operations.refresh",
|
|
408
341
|
MANAGE: "fail_deal.buy_back.operations.manage",
|
|
409
342
|
},
|
|
410
343
|
RESOURCES: {
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -226,23 +226,8 @@ export const PERMISSIONS = {
|
|
|
226
226
|
OPERATIONS: {
|
|
227
227
|
VIEW: "deal.financed.operations.view",
|
|
228
228
|
VIEW_MY_DEALS: "deal.financed.operations.view_my_deals",
|
|
229
|
-
|
|
230
|
-
UPDATE: "deal.financed.operations.update",
|
|
231
|
-
VALIDATE: "deal.financed.operations.validate",
|
|
232
|
-
REVERT_VALIDATE: "deal.financed.operations.revert_validate",
|
|
233
|
-
APPROVE: "deal.financed.operations.approve",
|
|
234
|
-
REVERT_APPROVE: "deal.financed.operations.revert_approve",
|
|
229
|
+
UPSERT: "deal.financed.operations.upsert",
|
|
235
230
|
FUND: "deal.financed.operations.fund",
|
|
236
|
-
REVERT_FUND: "deal.financed.operations.revert_fund",
|
|
237
|
-
UPDATE_FUNDING_DATE: "deal.financed.operations.update_funding_date",
|
|
238
|
-
DELETE: "deal.financed.operations.delete",
|
|
239
|
-
TO_DEAD_DEAL: "deal.financed.operations.to_dead_deal",
|
|
240
|
-
REVERT_TO_DEAD_DEAL: "deal.financed.operations.revert_to_dead_deal",
|
|
241
|
-
TO_BUY_BACK: "deal.financed.operations.to_buy_back",
|
|
242
|
-
REVERT_TO_BUY_BACK: "deal.financed.operations.revert_to_buy_back",
|
|
243
|
-
TO_UNWIND: "deal.financed.operations.to_unwind",
|
|
244
|
-
REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind",
|
|
245
|
-
REFRESH: "deal.financed.operations.refresh",
|
|
246
231
|
MANAGE: "deal.financed.operations.manage",
|
|
247
232
|
},
|
|
248
233
|
},
|
|
@@ -250,20 +235,8 @@ export const PERMISSIONS = {
|
|
|
250
235
|
OPERATIONS: {
|
|
251
236
|
VIEW: "deal.spot.operations.view",
|
|
252
237
|
VIEW_MY_DEALS: "deal.spot.operations.view_my_deals",
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
APPROVE: "deal.spot.operations.approve",
|
|
256
|
-
REVERT_APPROVE: "deal.spot.operations.revert_approve",
|
|
257
|
-
TO_FINANCED: "deal.spot.operations.to_financed",
|
|
258
|
-
REVERT_TO_FINANCED: "deal.spot.operations.revert_to_financed",
|
|
259
|
-
TO_CASH: "deal.spot.operations.to_cash",
|
|
260
|
-
REVERT_TO_CASH: "deal.spot.operations.revert_to_cash",
|
|
261
|
-
TO_BHPH: "deal.spot.operations.to_bhph",
|
|
262
|
-
REVERT_TO_BHPH: "deal.spot.operations.revert_to_bhph",
|
|
263
|
-
DELETE: "deal.spot.operations.delete",
|
|
264
|
-
TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal",
|
|
265
|
-
REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal",
|
|
266
|
-
REFRESH: "deal.spot.operations.refresh",
|
|
238
|
+
UPSERT: "deal.spot.operations.upsert",
|
|
239
|
+
TRANSFORM: "deal.spot.operations.transform",
|
|
267
240
|
MANAGE: "deal.spot.operations.manage",
|
|
268
241
|
},
|
|
269
242
|
},
|
|
@@ -271,16 +244,7 @@ export const PERMISSIONS = {
|
|
|
271
244
|
OPERATIONS: {
|
|
272
245
|
VIEW: "deal.cash.operations.view",
|
|
273
246
|
VIEW_MY_DEALS: "deal.cash.operations.view_my_deals",
|
|
274
|
-
|
|
275
|
-
UPDATE: "deal.cash.operations.update",
|
|
276
|
-
VALIDATE: "deal.cash.operations.validate",
|
|
277
|
-
REVERT_VALIDATE: "deal.cash.operations.revert_validate",
|
|
278
|
-
APPROVE: "deal.cash.operations.approve",
|
|
279
|
-
REVERT_APPROVE: "deal.cash.operations.revert_approve",
|
|
280
|
-
DELETE: "deal.cash.operations.delete",
|
|
281
|
-
TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal",
|
|
282
|
-
REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal",
|
|
283
|
-
REFRESH: "deal.cash.operations.refresh",
|
|
247
|
+
UPSERT: "deal.cash.operations.upsert",
|
|
284
248
|
MANAGE: "deal.cash.operations.manage",
|
|
285
249
|
},
|
|
286
250
|
},
|
|
@@ -288,16 +252,7 @@ export const PERMISSIONS = {
|
|
|
288
252
|
OPERATIONS: {
|
|
289
253
|
VIEW: "deal.bhph.operations.view",
|
|
290
254
|
VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals",
|
|
291
|
-
|
|
292
|
-
UPDATE: "deal.bhph.operations.update",
|
|
293
|
-
VALIDATE: "deal.bhph.operations.validate",
|
|
294
|
-
REVERT_VALIDATE: "deal.bhph.operations.revert_validate",
|
|
295
|
-
APPROVE: "deal.bhph.operations.approve",
|
|
296
|
-
REVERT_APPROVE: "deal.bhph.operations.revert_approve",
|
|
297
|
-
DELETE: "deal.bhph.operations.delete",
|
|
298
|
-
TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal",
|
|
299
|
-
REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal",
|
|
300
|
-
REFRESH: "deal.bhph.operations.refresh",
|
|
255
|
+
UPSERT: "deal.bhph.operations.upsert",
|
|
301
256
|
MANAGE: "deal.bhph.operations.manage",
|
|
302
257
|
},
|
|
303
258
|
PAYMENTS: {
|
|
@@ -355,14 +310,6 @@ export const PERMISSIONS = {
|
|
|
355
310
|
OPERATIONS: {
|
|
356
311
|
VIEW: "fail_deal.unwind.operations.view",
|
|
357
312
|
VIEW_MY_DEALS: "fail_deal.unwind.operations.view_my_deals",
|
|
358
|
-
PAY: "fail_deal.unwind.operations.pay",
|
|
359
|
-
REVERT_PAY: "fail_deal.unwind.operations.revert_pay",
|
|
360
|
-
DELETE: "fail_deal.unwind.operations.delete",
|
|
361
|
-
UPDATE: "fail_deal.unwind.operations.update",
|
|
362
|
-
ARRIVE: "fail_deal.unwind.operations.arrive",
|
|
363
|
-
REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive",
|
|
364
|
-
TO_REPO: "fail_deal.unwind.operations.to_repo",
|
|
365
|
-
REFRESH: "fail_deal.unwind.operations.refresh",
|
|
366
313
|
MANAGE: "fail_deal.unwind.operations.manage",
|
|
367
314
|
},
|
|
368
315
|
FILES: {
|
|
@@ -389,29 +336,15 @@ export const PERMISSIONS = {
|
|
|
389
336
|
},
|
|
390
337
|
},
|
|
391
338
|
OPERATIONS: {
|
|
392
|
-
DELETE: "fail_deal.dead_deal.operations.delete",
|
|
393
339
|
VIEW: "fail_deal.dead_deal.operations.view",
|
|
394
340
|
VIEW_MY_DEALS: "fail_deal.dead_deal.operations.view_my_deals",
|
|
395
|
-
UPDATE: "fail_deal.dead_deal.operations.update",
|
|
396
|
-
ARRIVE: "fail_deal.dead_deal.operations.arrive",
|
|
397
|
-
REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive",
|
|
398
|
-
TO_REPO: "fail_deal.dead_deal.operations.to_repo",
|
|
399
|
-
REFRESH: "fail_deal.dead_deal.operations.refresh",
|
|
400
341
|
MANAGE: "fail_deal.dead_deal.operations.manage",
|
|
401
342
|
},
|
|
402
343
|
},
|
|
403
344
|
BUY_BACK: {
|
|
404
345
|
OPERATIONS: {
|
|
405
|
-
PAY: "fail_deal.buy_back.operations.pay",
|
|
406
346
|
VIEW_MY_DEALS: "fail_deal.buy_back.operations.view_my_deals",
|
|
407
|
-
REVERT_PAY: "fail_deal.buy_back.operations.revert_pay",
|
|
408
|
-
DELETE: "fail_deal.buy_back.operations.delete",
|
|
409
347
|
VIEW: "fail_deal.buy_back.operations.view",
|
|
410
|
-
UPDATE: "fail_deal.buy_back.operations.update",
|
|
411
|
-
ARRIVE: "fail_deal.buy_back.operations.arrive",
|
|
412
|
-
REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive",
|
|
413
|
-
TO_REPO: "fail_deal.buy_back.operations.to_repo",
|
|
414
|
-
REFRESH: "fail_deal.buy_back.operations.refresh",
|
|
415
348
|
MANAGE: "fail_deal.buy_back.operations.manage",
|
|
416
349
|
},
|
|
417
350
|
RESOURCES: {
|