-
Notifications
You must be signed in to change notification settings - Fork 19
Import resources and permissions from Map resource #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nice! @mwa Looks good to you also? |
Note that I am not a maintainer of the Admin GUI, so I have no say whether this pull request gets included or not. I'm only a person that sometimes needs to use the Admin GUI, sometimes needs to do a bit of support for someone else who's wondering what all those things in the Admin GUI do, and now I actually have some implicit knowledge of what some of the things of the Admin GUI do. Having access to actual documentation for the Admin GUIs features via a "Help" or "Info" button would elevate this software's usability. |
Hi @tpo ,
From what I understand, end-user with For example, with "commune" as For example, with "commune" as For example, with "commune" as There are the same Attribute and Pick buttons for "commune" as If you have "commune" as
No there is no documentation about this commit. You are right, it is not obvious for the end-user (admin role) to know what it does when clicking "Import Resources". I think it would be great to add all these screenshots + texts as doc in Admin GUI, but it is an User Documentation, not a Dev Doc as the README.md looks like. Where do we create this doc ?
I totally agree with your point of view concerning the lack of documentation (user and dev points of view) and it would be great to enhance all QWC environment documentation to make this software easier to use and deploy. Could the documentation be written in https://github.com/qwc-services/qwc-services.github.io repository ? With a Dev point of view and an User one. |
Hi @manisandro , Is this ok to merge ? I will create documentation for the admin service later. Thanks |
I'd like @mwa to give it a look first |
Looks great, thanks |
@mwa - kannst Du bitte noch das hier kommentieren: #54 (comment) ? |
@tpo The |
This PR aims to automatically import resources and permissions from
Map
resource.In Resources, there is a new button for resources of type
Map
:User can chose type of resources which will be imported as resources in database. Available types are are
layer
,data
,data_read
,data_create
,data_update
anddata_delete
.Roles are the ones existing in database.
Resources are imported from parent resource id.
Permissions are also added for the role for all the resources that are imported.
This feature is quite the same than the
Import layers
button when you edit aMap
resource but you can directly choose type and permissions.