@steedos/standard-permission 2.5.3-beta.10 → 2.5.3-beta.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.
@@ -1,7 +1,9 @@
1
1
  module.exports = {
2
2
  customize: function (object_name, record_id, fields) {
3
3
  var doc = Creator.odata.get(object_name, record_id)
4
- Creator.odata.insert(object_name, {name: doc.name, label: doc.label, type: doc.type, license: doc.license, lockout_interval: doc.lockout_interval, max_login_attempts: doc.max_login_attempts, password_history: doc.password_history}, function(result, error){
4
+ Creator.odata.insert(object_name, {name: doc.name, label: doc.label, type: doc.type, license: doc.license, lockout_interval: doc.lockout_interval, max_login_attempts: doc.max_login_attempts, password_history: doc.password_history,
5
+ default_standard_buttons: doc.default_standard_buttons
6
+ }, function(result, error){
5
7
  if(result){
6
8
  FlowRouter.go(`/app/-/${object_name}/view/${result._id}`)
7
9
  }
@@ -9,6 +9,6 @@ allowRead: true
9
9
  allowReadFiles: true
10
10
  modifyAllRecords: false
11
11
  permission_set_id: customer
12
- viewAllFiles: false
13
- viewAllRecords: false
14
- viewCompanyRecords: false
12
+ viewAllFiles: true
13
+ viewAllRecords: true
14
+ viewCompanyRecords: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-permission",
3
- "version": "2.5.3-beta.10",
3
+ "version": "2.5.3-beta.11",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,5 +12,5 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "f84a751c28a45aeffd00f4cb2ec1a72cf72658c9"
15
+ "gitHead": "90a5790974f858323e534c321f96643da576d260"
16
16
  }