Skip to content
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

Allow non admin org members to still edit & save Datacore org info & LATER notif admin (but display Kernel org info in readonly) #260

Open
mdutoo opened this issue Sep 3, 2015 · 6 comments

Comments

@mdutoo
Copy link

mdutoo commented Sep 3, 2015

TODO UPDATE

Today, the Portal allows user & admin to modify Organization fields in Modal, but only Org Admin user updates are actually taken.
=> Proposed change is to set those fields as readonly and disable the save Organization button for users with no org admin rights.

@ilucatero
Copy link
Contributor

At the moment, there is no membership treatment (kernel side) in the organization workflow (create/update) ; "create" in the search modal, "update" in the organization's "Information" button. So in order to disable or do any admin-based change, it is required to take into account the kernel memberships (which are cached), as well as its dc-organization resource's rights.

@mdutoo mdutoo changed the title Display Organization info in readonly when user is not admin Allow non admin org members to still edit & save Datacore org info (but display Kernel org info in readonly) Oct 12, 2015
@mdutoo mdutoo changed the title Allow non admin org members to still edit & save Datacore org info (but display Kernel org info in readonly) Allow non admin org members to still edit & save Datacore org info & notif admin (but display Kernel org info in readonly) Oct 12, 2015
@mdutoo mdutoo changed the title Allow non admin org members to still edit & save Datacore org info & notif admin (but display Kernel org info in readonly) Allow non admin org members to still edit & save Datacore org info & LATER notif admin (but display Kernel org info in readonly) Oct 12, 2015
@MLE-Astek
Copy link
Contributor

Actually the information button work only if you are the creator of the organisation. Members must have the possibility of see information in read only.

@MLE-Astek
Copy link
Contributor

A new modal to expose organisation information to members is needed. The actual for editing must not be modified to do this job, his organisation with tab is useless.

@MLE-Astek
Copy link
Contributor

When i see that in Kernel code, i think a regular member can't modify all datas. So wich can be editable by non admin ? Legal name, SIRET, type, jurisdiction, … ?

@tbroyer
Copy link

tbroyer commented Dec 1, 2015

The Kernel only stores the name, type (public/private) and DataCore ID.

@MLE-Astek
Copy link
Contributor

Like type and DatacoreID aren't editable (in admin too), rest the name who is editable by admin but not by members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants