Skip to content

Hide columns (no toogling) #1181

@theocerutti

Description

@theocerutti

Hello,

I would like to hide completely a column if a user is not admin.
I know there is an option to 'hide' it (hidden) but the problem is that we can show it with the toogler...
For example:

We have a table of sales:

| Products | Prices      |  
|------------------------|  
|  Cap     |   30€       |  
|------------------------|  
|  .....   |   ...       |  
|------------------------|  

Default Users (not admin) can just see these columsn (products and prices)

However Administrator can see:

| Products | Prices      |   Admin Tools
|------------------------| -----------------------|
|  Cap     |   30€       |  Delete product        |
|------------------------| -----------------------|
|  .....   |   ...       |  ....                  |
|------------------------| -----------------------|

Is it possible ??

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions