0b04983a8c372aa1fa63cd762763bd7b136d341d,modules/s3/s3roles.py,S3PermissionWidget,get_default_permissions,#S3PermissionWidget#,1547
Before Change
default_permissions = {}
if table and default_roles:
query = (table.group_id.belongs(default_roles)) & \
(table.controller == None) & \
(table.function == None) & \
(table.tablename != None) & \
After Change
default_permissions = {}
if table and default_roles:
query = (table.group_id.belongs(default_roles))
if not permissions.use_facls:
query &= (table.function == None)
if not permissions.use_tacls:
query &= (table.tablename == None)
query &= (table.deleted == False)
rows = current.db(query).select(table.controller,
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: sahana/eden
Commit Name: 0b04983a8c372aa1fa63cd762763bd7b136d341d
Time: 2018-11-01
Author: dominic@nursix.org
File Name: modules/s3/s3roles.py
Class Name: S3PermissionWidget
Method Name: get_default_permissions
Project Name: geomstats/geomstats
Commit Name: 4e74d2cd7a8d2e51c918e5d78a7c976459a36420
Time: 2020-04-13
Author: ninamio78@gmail.com
File Name: tests/test_symmetric_matrices.py
Class Name: TestSymmetricMatricesMethods
Method Name: test_belongs
Project Name: geomstats/geomstats
Commit Name: 5391a7233bb5b31d66d3c1505ab4f75f55302f2d
Time: 2020-04-16
Author: ninamio78@gmail.com
File Name: geomstats/geometry/landmarks.py
Class Name: Landmarks
Method Name: belongs
Project Name: sahana/eden
Commit Name: 301cdf2643b1b847dc0b97e35e0a937236ff39ad
Time: 2020-04-08
Author: fran@aidiq.com
File Name: modules/templates/CCC/controllers.py
Class Name:
Method Name: auth_user_register_onaccept
Project Name: sahana/eden
Commit Name: d9b0685dde5ef0633743de17a4452c40ed4842e6
Time: 2019-09-11
Author: fran@aidiq.com
File Name: modules/templates/UCCE/controllers.py
Class Name: dc_ProjectDelete
Method Name: apply_method
Project Name: sahana/eden
Commit Name: f635f8edd8bd232030cf7603c45022c4c55aaa3a
Time: 2019-07-24
Author: fran@aidiq.com
File Name: modules/templates/UCCE/controllers.py
Class Name:
Method Name: project_project_list_layout