Dataform (plugin)

Dataform Module - restrict staff editing

 
 
Picture of Andrew Cowan
Dataform Module - restrict staff editing
 

Im trying to use the Dataform module to allow staff to add information which is then checked by other staff.

To do this, I was going to add a different view, viewable only to the "approvers" but I cant find a way to stop the original staff member being able to edit those fields.

What I think I need is the ability to lock and unlock editing for non-manager roles (setting the editing time to 0 doesnt seem to work) or to be able to set the "lock" on a field to only apply to certian roles, like visibility does

Or, does anyone have any other ideas??

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Dataform Module - restrict staff editing
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

The Dataform doesn't yet support capabilities in the view and field levels. The current restrictions are applied to student role. View and field capability would a very useful feature. smile

 
Average of ratings: -
Picture of DSY Lena
Re: Dataform Module - How can I give the permission to users to complete a dataform?
 

Hi Itamar,


Thank you very much for your dataform module. I created a course and enrol 3 users from the staff then I created a dataform with fields and views that I can see when I click on browse tab. The problem is that my 3 users enrolled to the course can't access to it , when they click on the dataform is empty. If you could help me it will be really appreciated.

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Dataform Module - How can I give the permission to users to complete a dataform?
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

You need to have entries in the Dataform to interact with it. Entries are added either by the users or by the activity manager. By default views allows allow users to add entries. The default view template of the view contains the pattern ##addnewentry## which displays a button that will open a new entry form. In some cases you may prefer to add the entries on behalf of your users, and you can deny users entry adding and allow them to only update existing ones. There are many ways to approach that. If you provide more details on what you are trying to acheive we can look into possible approaches. smile

 
Average of ratings: -