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