Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

How to get access in backend pages for different users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to get access in backend pages for different users

    I am developing a web application that have front end and back end in one. I have to provide access to different back end pages for to different users. For example:Employees in the site can send the photos of site hazards using back end to the sever and admin will have the right to publish those pictures in front end or forward email to insurance company.
    I created the users and assigned them to groups like administrator,manager,employee,user etc. I have also set page security and component security for different user groups but when I publish the project and get logged in using user id and password,it redirects the same pages in front end for all type of user groups. I look like I didn't get access to those back end pages which I have set permission to access for specified users.
    I have also checked the Enable Security Framework in Development Server Setting and still I have no idea that what is going on.
    I will be grateful if you provide me some clear instructions to solve my problem.
    Thank you.

    #2
    Re: How to get access in backend pages for different users

    I don't completely understand your problem but back end and front end are not really useful terms.

    Create 2 pages

    "Front End" and "Back End" restrict what you show based upon the page name. Now you can use security to control access.

    I assume you are not allowing access to the server, so Alpha is being used in the client.

    Comment


      #3
      Re: How to get access in backend pages for different users

      Hi MIchael,
      Thanks for your reply.I have more than 3 years experience in .Net Framework but I am very new with alpha anywhere development environment.I started exploring things about a week ago and I am still lost in it.
      I am familiar with MS SQL server and using SQL for my database.When I create users related to different security groups,it creates four tables in the database and I have customized their names like AllowedUsers,ExperiedLogin,Members and Groups.
      Now going further, when I publish my project it redirects the index page which I have set default page in development server setting.But when I get logged in with user id and password that I have set before in web security setting,It redirect and same index page instead of publishing the pages that I have set permission for specific user.
      You said that I am not allowing access to the server, is there any ways to fix that problem?
      Please, I am waiting for reply.
      thank you.
      Rajendra

      Comment


        #4
        Re: How to get access in backend pages for different users

        I think you should step back and think of the Alpha paradigm

        Alpha has methods to upload to the server, these can be UX components. Security can control (In the client) who has permission to access this page.

        Alpha also has methods to download reports etc from the server, again by using a UX you can control access.


        Could you send a pictorial flow chart of what you are trying to do?

        I will try to help

        Comment


          #5
          Re: How to get access in backend pages for different users

          I think your misunderstanding how this works - and please forgive me if I am dead wrong!
          Ok you set page 1 to allow access to group1
          page 2 is allowed to be seen by group 3 and so on - however just because you have teh permissions set DOES NOT mean that they will see those pages on entry to the website as a default page.
          All that means is that they have permission.

          Now, you could make a page that has 2 buttons
          button 1 is a link to page 1
          button 2 is a link to page 2

          in the server side properties you set the buttons show/hide properties based on usergroup or tenant_id
          Then they could see the button and then therefore click it to go to the page for which they have the permission.

          now that was a fairly general idea of the flow, and I hope I am not offending you if you already know all of this. The idea is that if you want certain page to be seen as a default page based on usergroup that is one thing but for all intents and purposes your going to have to explain better what your goal is, as Michael said - whats the flow your after here?
          Log in and go to a certain page on login based on usergroup?
          Login and be offered a choice to CHOOSE where you go based on usergroup?

          I always recommend writing down exactly what the goal is first, often it helps define the solution...
          NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

          Comment


            #6
            Re: How to get access in backend pages for different users

            Hi Charles,
            Thanks again for your reply. I was trying to Log in and go to certain pages based on usergroup. Now,I can log in and go to the pages specified to usergroup . Support from you and other senior developers made things easy for me to work with alpha anywhere environment.
            thank you.
            rajendra.

            Comment


              #7
              Re: How to get access in backend pages for different users

              Hi Michael,
              Thanks again for your reply. I was trying to Log in and go to certain pages based on usergroup. I have changed Security setting like thispageafterlogin.jpg.Now,I can log in and go to the pages specified to usergroup . Support from you and other senior developers made things easy for me to work with alpha anywhere environment.
              thank you.
              rajendra.

              Comment


                #8
                Re: How to get access in backend pages for different users

                That is the point of the message board, we all learn from each other.

                When I started I watched a series lectures seminars given by Steve Woking and one thing he said has always stuck with me "developers who migrate to Alpha often try too hard." While Steve taught me plenty of useful techniques that sentence is true each day you use Alpha.

                Before you do anything too complex, ask yourself "How do Alpha expect me to do this?"
                Is there a function?
                Is there a genie?
                Is there a checkbox?

                The options and power of Alpha will get you 50-80% of the way without the need to write any code.

                We are just writing a new resource for Alpha. Here is a link http://smg.datadrivensystems.co.uk/d...lpha/index.a5w all of the data is dummy data but in 5 or 6 weeks it should be available in beta.

                At the moment it is running on a server in our Indonesian office but the beta will be hosted on a better platform.

                Comment

                Working...
                X