restrict add entry or edit for some users in database activty

restrict add entry or edit for some users in database activty

by pavan naidu -
Number of replies: 6

hi,

    How can restrict add entry or edit for some users in database activity, like i have created library management system, and i want to allow for students to see the content not to edit or add the entries. is their anyways to do it, i use moodle 3.2


   

Average of ratings: -
In reply to pavan naidu

Re: restrict add entry or edit for some users in database activty

by William Lu -
Picture of Particularly helpful Moodlers

Hi Pavan,


THere are many ways to do that, below are 2 of them:

1. Edit permission, prevent students from adding a new entry.



2. Make your Database ready only.

 


In reply to William Lu

Re: restrict add entry or edit for some users in database activty

by pavan naidu -

Thank you so much for the solution. it worked  Yes

In reply to William Lu

Re: restrict add entry or edit for some users in database activty

by pavan naidu -

their is a problem, when i made prohibit for non-editing teacher for exporting the entries it doesn't work, it is allowing them to export the database entries 

In reply to pavan naidu

Re: restrict add entry or edit for some users in database activty

by William Lu -
Picture of Particularly helpful Moodlers

Hi Pavan, 

You are right, the 'Export' tab is for Teachers to use only, but I think there is a bug in Permission setting for the non-editing teacher's role. Neither "Prevent", nor "prohibit" has any effect on it, sad!

You can report this bug to the Tracker if you want to.

Workaround:

Create a new role, based on Student's role (Use role or archetype=Student). The student role can't see the Export tab. Then add necessary permission to the new role.