Remove Filter , New , Edit ,Delete batch action Using generator.yml
config:
actions: ~
fields:
ip: { label: IP Address ,is_link: false}
status: {type: Boolean}
list:
max_per_page: 4
sort: [status, desc]
display: [name,ts,country,city,browser,status]
fields:
ts: { date_format:'dd-MMM-yyyy hh:mm:ss a' }
batch_actions: {}
object_actions: {}
actions: { }
filter:
class: false
form: ~
edit: ~
new: ~
Block some field for admin only
fields:
ip: { credentials: [admin] }
No comments:
Post a Comment