Skip to content

Hide Create Button Operation #2658

Closed Answered by Paul-Bob
hellodit asked this question in Help
Discussion options

You must be logged in to vote

Hello @hellodit This can be achieved by two main ways:

Authorization ( Pro license required )

Using authorization you can create a policy for the Setting resource then make create? and new? return false.

Custom controls ( Advanced license required )

Using self.index_controls you can costumize whatever control appear on the index page. To hide the create button you should declare only actions_list and attach_button (for associations).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paul-Bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants