Scheduling Layout with Read-only access

Bug #1321509 reported by Laercio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Committed
Low
Dan Garner
1.6
Fix Released
Medium
Dan Garner
1.7
Fix Committed
Low
Dan Garner

Bug Description

Scheduling Layout with Read-only access

Layouts realized that the User has access only to view, are not appearing in the GRID layout in scheduling events.

This error happens layouts with permission for anyone or for specific user with read-only access.

To appear in the schedule screen event had to put the user with permission to edit the layout.

This is a BUG of permissionamento, after all there layouts they wish to share with all users with specific audiences and content, giving access to schedule into your schedule if he finds interesting.

Related branches

Revision history for this message
Dan Garner (dangarner) wrote :

This is not a bug - it is a feature request that needs to be handled carefully so that the existing user base are not effected.

information type: Private Security → Public
Changed in xibo:
status: New → Opinion
Revision history for this message
Laercio (laercionit) wrote :

Dan, I understand that if the layout has permission to view any other user, he could have the ability to schedule this layout. Otherwise, what is the functionality that would use access reading layout? There is nothing to do in the system having only read access to Layout.

Imagine the scenario:
I created a layout called weather, put the regions, all set up and in position. I put permission for anyone to access reading, they can order schedule.

In your logic, you would have to have access to editing, but this way he could dafinicar layout messing where he could not.

Revision history for this message
Laercio (laercionit) wrote :

Dan, good night.

Got their placement, but I think there is a failure of logic.
See the picture below.

Test 1:
SCHEDULE_WITH_VIEW_PERMISSION Set to No.
User with access to the display with VIEW permission
User with access to the layout VIEW permission
User sees through the Layout menu layouts.
User uses the functionality schedule now, and can create the independent scheduling SCHEDULE_WITH_VIEW_PERMISSION option for Display
Scheduling is viewed through the menu schedule.
When trying to accomplish the same schedule through the menu, the layout is not displayed in the column layouts.

Understand the reason of doubt. The system allows through a feature, but not through the other displays this option.

I understand that if the layout is allowed to veiw, you should view the list of layouts, perform NOW SCHEDULE Schedule or scheduled. Obviously depend on the configuration SCHEDULE_WITH_VIEW_PERMISSION.

Revision history for this message
Laercio (laercionit) wrote :

The test was conducted at the Branch 1.6.2, used the last commit 375

Revision history for this message
Laercio (laercionit) wrote :

Dan, good night.

you had the opportunity to analyze the script / scenario presented above?
Errao'm at my placement?

I see that the system allows the user to set the Layout with permission to Everyone. Displays the layout and allows the user to schedule using the SCHEDULE NOW feature!

But when accessing the scheduling menu, the layout is not displayed to the user.

I'm not sure what the BUG, prevent scheduling through the Schedule Now or Unlock the screen the user scheduling for the Layout (Everyone)

Revision history for this message
Laercio (laercionit) wrote :

Event schedule for Layout with Permission VIEW

When you define a layout with permission to Everyone or to VIEW any user, the layout is listed in the menu layouts perfectly. The user can through the functionality SCHEDULE NOW place for displays that have access.

The problem is on schedule screen event is not listed with the layout VIEW access only. Allowed in part of the system and not allow another.

My opinion is that the system should use the same logic in event programming.

Revision history for this message
Dan Garner (dangarner) wrote :

You are correct - there is a discrepancy here.

Layout Grid - Schedule Now is available for all layouts with View permissions

Schedule Form - Only layouts with Edit Permissions
Schedule Now Form - Layouts with View Permissions

It has nothing to do with "SCHEDULE_WITH_VIEW" permissions - that only applies to the display/display group.

I think the correct action is to make the schedule form show layouts with view permissions.

Revision history for this message
Laercio (laercionit) wrote :

Perfect DAN

It has nothing to do with schedule_with_view_permission.
The BUG is to appear in the show schedule form layouts with view permissions.

Revision history for this message
Dan Garner (dangarner) wrote :

I think its probably the reverse of that - as you say what is the point of having view permission on a layout if you can't use it?

The committed code allows scheduling of layouts with view permission only - that is what you asked for in your original comments I think.

Thanks,
Dan

Revision history for this message
Laercio (laercionit) wrote :

Perfect DAN

I downloaded the files updated, tested here and now I can view layouts with permission VIEW to create events schedule.

Fixed BUG! Tks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.