Hi Mai, unfortunately, all of the permissions that you see in the admin
interface are only the first step to allowing the permissions you are
after. You are able to attach these permissions to a user (or user group),
but they are not actually integrated into the forms or the front end of the
app itself at all, which is why you are not seeing any changes after
applying them to your new user.
Restricting access to the RDM would not be too hard to do though, here's
one way you could do it:
1. create a new group called "rdm"
2. copy the header.htm from the arches base code (in the virtual
environment templates) to your app's templates.
3. in this new header.htm file, find where, around line 89, you see:
{% if 'edit' in user.user_groups %}
4. Go to the end of that section (which is creating the RESOURCE MANAGER tab if
the user has been assigned to the 'edit' group) and add
{% endif %}
after the <!-- End Resource Editor --> comment
5. Now you can precede the next block (which is creating the RDM tab) with this
new line
{% if 'rdm' in user.user_groups %}
6. You'll see that there is already an "endif" statement after the RDM code, so
you should be all set to go.
If you are successful with this addition, you'll understand one way that you
can use groups as stand-ins for permission settings. Again, the actual
permission settings that you see in the admin console, while extensive, are not
integrated into the front end of the default Arches-HIP app.
Good luck!
Adam
On Tuesday, January 5, 2016 at 5:43:28 AM UTC-6, [email protected]
wrote:
>
> Hello All,
>
> I have got the new version of Arches and Arches-hip up and running and I
> am trying to create a new user (a data manager user) next to the anonymous
> and the admin users. This new user should be able to access everything on
> the website except the RDM.
> I am having some troubles understanding the different meanings for the
> user permissions, but this is not what troubles me most. The main problem I
> am facing is that changing the user's permissions seem to have no effect at
> all, so this got me thinking that maybe I have missed out something.
> This is what I have done so far:
> - I went to siteurl/admin/auth and created a new user with staff status
> and super user status unchecked
> - Chosen all available user permissions and assigned them to this new user.
> Even though I have assigned the new user all privileges (which is way more
> than what I actually want to do), the new user still has no access to the
> resource manager or the RDM.
> So are there any other files that I need to modify to achieve the desired
> results.
>
> Thanks a lot
>
> Best Regards,
> Mai
>
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.